question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Potential config file corruption

See original GitHub issue

This is a potential issue, I don’t think it actually happened yet.

In many places, RaspiBlitz currently uses echo "something=something" >> /mnt/hdd/raspiblitz.conf.

If the user manually modifies the config file, and for some reason removes the newline at the end (it’s unlikely, I just wanted to report this), this command will end up with the config file looking something like this:

Before:

oldConfig=oldValue

Expected:

oldConfig=oldValue
something=something

Actual config file:

oldConfig=oldValuesomething=something

In this scenario, doing echo "something=something" | tee -a /mnt/hdd/raspiblitz.conf would be better.

Even though this is unlikely you may find it’s worth fixing it, because it can be fixed by a simple search and replace.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rootzollcommented, Feb 17, 2022

Scripts works fine during the RCs. Closing this issue for v1.7.2 release.

0reactions
rootzollcommented, Dec 8, 2021

OK change on the redis branch is in … ready for final testing

Read more comments on GitHub >

github_iconTop Results From Across the Web

Potential config file corruption: SAP Cloud Connector access ...
2901160 - Potential config file corruption: SAP Cloud Connector access issue. Symptom. SAP Cloud Connector (SCC) access fails with the below error:
Read more >
File Corruption- possible causes and prevention. - IBM
1. One of the most common causes of corruption is that files are being stored or accessed on a fragmented drive. Run a...
Read more >
How did my database or configuration files become corrupted?
There are a few processes and/or applications that can corrupt the analysis database for a profile, the MySQL database (if applicable), or configuration...
Read more >
What Is a Corrupted File and How Can I Fix It? - Help Desk Geek
File corruption is a form of accidental or unintended damage to the data in a file. File corruption comes in many shapes and...
Read more >
Repairing the User Config File - MetaGeek Support
1. Open Windows Explorer · 2. Navigate to C:\Users\<username>\AppData\Local\MetaGeek\Chanalyzer.exe\5.8.9.55 · 3. Right-click the user.config. · 4.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found