-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
DietPi-RAMdisk | /DietPi folder empty after reboot #719
Comments
Which PSU + SD are you using on the Pine when it caused this: https://github.com/Fourdee/DietPi/issues/726#issue-202412586 |
|
@Fourdee |
Thanks. When the folder is missing, can you please do the following: Mostly interested in results of:
|
I think the issue is even an step earlier, /boot/dietpi is empty as well so dietpi-ramlog and other scripts aren't present in the system. |
Seems to vary:
|
In my case, /boot/dietpi does have contents:
Here are the results, as requested:
DietPi-RAMlog status:
I hope that helps! |
Thanks 👍 Looks like some of the DietPi scripts are missing from
I'll run some tests. |
Whats the size used in
|
+ Debugging for DietPi-RAMdisk: https://github.com/Fourdee/DietPi/issues/719
Ok i've enabled verbose debugging for Logs will be saved to: This won't be enabled until v143 is released (or use of testing branch: https://github.com/Fourdee/DietPi/blob/master/TESTING-BRANCH.md), however, once the issue occurs, logs should give us much needed clues. |
Just wondering if this is a simple case of service running before Adding following should prevent that: |
+ DietPi-RAMdisk / DietPi-RAMlog. Ensure runs after local-fs.target: https://github.com/Fourdee/DietPi/issues/719
Debugging enabled for v143:If you experience and issues with missing
|
v143 (29/01/17) Images: BPi Pro | Image has been updated to 4.9 kernel. Onboard WiFi is now functional, HDMI audio is not supported at this time (3.5mm only): https://github.com/Fourdee/DietPi/issues/732 Changes / Improvements / Optimizations: General | RPi: DietPi kernel is now installed by default. This adds support for Allo Piano 2.1 DAC, and 192KHz 16bit HDMI output. DietPi-RAMdisk | Enabled additional logging for this process, as some users are experiencing issues. This should help us find the cause: https://github.com/Fourdee/DietPi/issues/719 DietPi-Config | Audio > Sound card: Added support for RPi "Pi-DIGI+" DietPi-Software | NeoVim: Now available for RPi Stretch: https://github.com/Fourdee/DietPi/issues/692 DietPi-Software | O!MPD: Now available for installation. Slick, feature-rich MPD web interface music player: http://dietpi.com/phpbb/viewtopic.php?f=8&t=5&p=5171#p5171 DietPi-Software | NetData: Updated to latest (1.5.0): https://github.com/Fourdee/DietPi/issues/728 DietPi-JustBoom | Added option to launch Alsamixer DietPi-JustBoom | Added various options unique to the Allo Piano 2.1 DAC: https://github.com/Fourdee/DietPi/issues/714 Bug fixes: General | Pine 64 FB cursor is now visible: https://github.com/Fourdee/DietPi/issues/596 General | LED heartbeat for H3 is now functional and applied during boot. DietPi-Config | Display > Added support for JustBoom IR Remote. Supports Kodi & MPD controls by default: https://github.com/Fourdee/DietPi/issues/735 DietPi-Config | Audio > USB-DAC: When enabled, will always re-detect and apply active card index during boot. Many thanks to "J. Künz" for these fixes! DietPi-Config | Audio > Sound card: Corrected options for BPi Pro. Many thanks to "J. Künz" for these fixes! DietPi-Config | Audio > Sound card: Corrected options for OPi Zero (H2+) HDMI and 3.5mm analogue (default). DietPi-Config | Audio > Sound card: Allo Piano 2.1 DAC for RPi is now functional. Driver provided by DietPi kernel: https://github.com/Fourdee/DietPi/issues/727 DietPi-Software | Failure to move MySQL DB store will now prevent further action being taken: https://github.com/Fourdee/DietPi/issues/715 DietPi-Software | Resolved an issue with VNC4server/RealVNC install, that prevented desktop launch command being inserted to xstartup, if a desktop was installed beforehand: DietPi-Software | Resolved an issue where installing LMS and SqueezeLite at the same time, would result in apt failure 100: https://github.com/Fourdee/DietPi/issues/736
|
@Fourdee I'm sorry I've missed the images' update. I was waiting for a new version to re-write my SD and start config from scratch to test and get my system back to stability. Do you suggest to wait to v144 to test the new images + new commits related to this issue? |
You can test these images now. The new images are essentially v143.5 and contain all the current commits. In other words, they are v144 at this time, containing all the updated code. |
Ok, informed users on forums, awaiting test results of the new images, from users who experienced the missing |
I rebuilt my SD card from scratch a few days ago with the 1.43.5 RasPi image, using the system as plex media & file server, no issues observed so far. Thanks a lot @Fourdee ! |
Excellent, but please let us know if this changes. |
No further reports using the updated images. All images have now been updated using our new image creation procedure and force Marking as closed. Will reopen if further reports come in, using the latest DietPi v145 images. |
Just to report that I lost /Dietpi folder again today. Something weird about chown in the logs:
|
Thanks for the report,
This is for the RAMlog, we have a special case permission for tor log files, safe to ignore. Whats the status of RAMdisk
|
I received the same error, but I think the problem is the SD card, it's a really old 2gb with only DietPi Jessie installed for the first time. I'm going to stop using the card instead of spending more time with it. I'm posting here just to say that
|
Another common cause for these kind of errors is if you have some volume on /etc/fstab that you are mounting on boot and it fails. Sometimes it fails before the system mounts the first volumes. So you wait a while and the system will let you inform your root password to enter in maintenance mode, then you can edit your /etc/fstab file, remove / comment the entries that may be the cause of error. Check with |
I'm a new user but unfortunately I believe I just joined this club. Installed DietPi on a fresh Odroid C2 w/ a Sandisk 128gb card. Had things up and running and was tinkering with it. Connected an external USB drive and rebooted -- and directory is now empty. Boots and I can login but can't run any dietpi commands.
|
Thanks for the report. To the best of our knowledge, this issue is always related to hardware instability. Please paste results of the logs:
Also, which power supply are you running? |
@Fourdee This power supply: https://www.amazon.com/gp/product/B0719SX3GC/
|
Looks like a corrupt SD filesystem. Any recent power cuts? If not, could be SD card failing, or PSU is insufficient (we highly recommend the official RPi PSU's). You'll need to reinstall DietPi on the SD card. |
this also happends over btrfs filesystem,btrfs does not support swapfile like archives , it should be checked into the instalation script before starting the conversion |
@mzramna All our images are shipped with ext4 root partition, however we do not check root fs type during DietPi-PREP. Either we need to check and disallow DietPi-PREP on non-ext4 root fs, or, which I like more, simply refuse swap creation and print error on script level. This then also includes manual script usage to create swap on external drive etc. Btw we have an open request to allow swap on BTRFS via separate swap partition: #1715
Fixed with: #2720
|
Reports:
Appears random (John).
Add additional debugging to
dietpi-ramdisk.service
The text was updated successfully, but these errors were encountered: