Comments (4)
I determined the cause. It's a 32GB SD card and 7.7GB were taken up by each of /sd-root/var/log/syslog
, /sd-root/var/log/messages
and /sd-root/var/log/user.log
for a total of 23.1GB in log files. The rest of the SD storage contains various caches and the OS itself. Is it safe to remove those three log files? Why did they get so bloated?
from umbrel-os.
Following advice in: https://askubuntu.com/questions/746535/var-log-syslog-growing-indefinitely-in-size it might be a good idea to hunt down the offending service/daemon that is constantly filling up the logs with errors.
Start by looking at the log entries themselves.
Does any error repeat?
Is it related to the Umbrel itself?
from umbrel-os.
@johnpc thanks for reporting this. Did you find anything in the logfiles that pointed to what the problem was?
Sounds like you are but just to clarify, you're running Umbrel OS on a Raspberry Pi, right?
Also when did this problem start? Was it immediately after doing an update or seemingly randomly? If after an update do you remember which version you were update from/to?
Thanks!
from umbrel-os.
I have just experienced this exact same issue. My syslog
is 10G and has the following message written 1382210 times:
Dec 2 00:41:31 umbrel dockerd[856]: time="2023-12-02T00:41:31.842107093Z" level=error msg="Failed to log msg \"\" for logger json-file: error writing log entry: write /var/lib/docker/containers/1170aa1573e586fc60e782aaed295e4c66af8372910a40ea368429541397ab72/1170aa1573e586fc60e782aaed295e4c66af8372910a40ea368429541397ab72-json.log: no space left on device"
My daemon.log.1
is 13G and has the same message written over and over.
I was not using my umbrel around the 2nd December when this log is dated, but it was not an issue until a few days ago when I began installing more apps and transferring other data files to my umbrel. Then suddenly my Umbrel stopped working and I began getting this error on the command line. Before that it seemed to work fine via the web interface.
I did not update the Umbrel OS at all in this time but I did update a few apps.
Removing these log files fixed the issue.
from umbrel-os.
Related Issues (20)
- Unable to upgrade to 0.5.1 (loop)
- Shutting Down Umbrel OS in Browser turning off my computer HOT 1
- Question | MicroSD wearing down HOT 2
- can we fix port conflicts? HOT 6
- Dashboard Login Required for Apps Causes Broken Links
- No apps on app store HOT 3
- BTCPay Server installation stuck in a loop after uninstallation HOT 2
- Амбрелла ос HOT 1
- Missing Documentation - 2FA Lockout HOT 2
- There was an error connecting to ThunderHub. Error code: EAI_AGAIN HOT 1
- Missing documentation for backup logic. HOT 3
- Buster no longer gets security updates HOT 1
- Theoretical question HOT 2
- Upgrade from buster to bullseye to bookworm broke 80% of umbrel (but not 100% 🤔) HOT 2
- Feature Request: Add Support for Intel QuickSync Hardware Acceleration
- Missing qemu-debootstrap not mentioned in dependencies
- Umbrel OS Install Causes Other Devices to Disconnect from Home Network
- Enhancement Suggestion
- Enhancement Feedback on Open Applications HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umbrel-os.