Potential config file corruption
See original GitHub issueThis 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:
- Created 2 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Scripts works fine during the RCs. Closing this issue for v1.7.2 release.
OK change on the redis branch is in … ready for final testing