-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for chromium BrowserMetrics filling filesystem: '/dev/mmcblk0p2' Disk Full, '/home/pi/.config/chromium/BrowserMetrics' fills entire disk, chromium will not load, FullPageOS logo shows. Also fix for Also add fix for changing hostname (clear chromium/Singleton*) #612
Comments
I think this would fix: |
I tested it and it is working if added to #!/bin/bash
USER_AGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"
feh --bg-center /opt/custompios/background.png
rm -R /home/pi/.cache/chromium/Default/Cache
rm -R /home/pi/.config/chromium/BrowserMetrics/*.*
rm -rf ~/.config/chromium/Singleton*
while true
do
if [[ $(curl -sL -b cookiefile -w "%{http_code}\\n" -H "user-agent: ${USER_AGENT}" "$(/opt/custompios/scripts/get_url)" -o /dev/null) =~ ^([23][0-9]{2,2}|401)$ ]] || grep -q disabled "/boot/firmware/check_for_httpd" ; then
xdotool mousemove 9000 9000
/opt/custompios/scripts/start_chromium_browser
fi
sleep 1
done
|
It does not seem to me that this is a solution, more like a workaround:
What exactly is filling it up? What is in that folder? |
Hello, the SD card is 32GB and filled it within a few weeks in the A full apt update & apt upgrade has been performed. The folder fills with .PMA files E.G The Pi3B is running FullPageOS 2024-10-28 |
I am not sure how to disable it from the build, but it looks like you can disable it according to this:
|
I'm doing everything from SSH/VNC, any idea how to get to the settings page? Update: Ah "Ctrl + T" escapes the tab. |
What were you doing?
Chromium BrowserMetrics is filling filesystem
Also add fix for changing hostname (clear chromium/Singleton*)
After a while the SD card becomes full.
running
sudo ncdu -x
at the drive root shows that the disk/dev/mmcblk0p2
is 100% full.This is due to
/home/pi/.config/chromium/BrowserMetrics
filling the entire diskChromium will not load, FullPageOS logo shows, cursor works, VNC works.
Suggested fix...
On the script that loads FullPageOS add the following commands to run:
Ref: andrewmcdan/mj-launcher@bbc55c8
What did you expect to happen?
N/A
What happened instead?
N/A
Was there an error message displayed? What did it say?
None
Version of FullPageOS?
0.14.0
Screenshot(s) showing the problem:
N/A
If you are building FullPageOS - provide a build.log that is created for the build
The text was updated successfully, but these errors were encountered: