-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Not working on Ubuntu 24.04 LTS - Raspberry Pi 4 and 5 #754
Comments
Would you please provide the debug log? |
Here it is, so there is no specific error: It gets stuck after it stops or tries to stop the services. Then, after some minutes, I cancel it with Ctrl+C. |
Thank you very much for the debug log. There I find
I can only guess. But according the debug log services are stopped and either you have to wait a bit longer (you waited 3 minutes only) or there is some service hanging and refusing to stop. I suggest to wait some more time first. If it still hangs execute the stop commands step by step from left to right to identify the service which refuses to stop. Then you have to find out why the service doesn't stop with the stop command. |
Okay, I have now deactivated the stopping of services for testing purposes. However, I am encountering another problem, which I've experienced before. The backup process runs smoothly without any issues, but it gets completely stuck during the cleanup process. I've attached the log. Additionally, I cannot stop it with Ctrl+C, waited more than 20min. |
I unfortunately cannot see from the debug log what system provides the backup partition :-( Please tell me more details about the system which provides the backup space. You use systemd automount. I frankly never used and tested automounted backup partitions. Please try a static mount defintiion and use the dynamic mount option of raspiBackup if you don't want to have the backup partition mounted all the time. |
I've been experimenting a bit, and it behaves really, really weird: I mount the drive with the following command: //192.168.1.70/PiBackup mnt/PiBackup cifs username=xxx,password=xxx,rw,uid=1000,gid=1000,nounix,iocharset=utf8,file_mode=0770,dir_mode=0770,vers=3.0,noauto,x-systemd.automount,x-systemd.idle-timeout=30 0 0 Sometimes it works sporadically and then again not. Without making any changes, I've tried to make a backup several times now. Sometimes it works, sometimes it doesn't. The debug log always hangs at this line (attachment with _nw) when it doesn't work, but when it does work, it goes through (attachment with _w). I absolutely can't see any regularity. For example, three times in a row, without making any changes, a backup was created. The first two times it worked without any problems, but the third time it gets stuck at that point and blocks: matthias@Raspi5: |
Please answer my question 😉 Given you have German messages I assume you're from Germany. In Germany the AVM Fritzbox is commonly used. I already got two issue because the AVM FB SMB implementation starts to hand when used ... But nobody knows why it doesn't work any more 😢 |
Hello, no, I'm from Italy, but my native language is German - but that's another story. I'm using a Synology 923+ with the latest DSM. Everything worked smoothly with 22.04. Now I've modified the fstab file to disable matthias@Raspi5: |
Hi, it must be an SMB/CIFS problem. I just tried mounting with NFS without any issues... |
That's what I think also. According the log the last command executed is
I suggest to switch to rsync backup instead of tar when you use nfs. That way you will use hardlinks and speed up the backup process 😉 If you're fine now please close the issue. |
Thank you very much, and sorry for false alarm. |
Hi there,
Thank you for your great application. However, I noticed that the tool isn't working on Ubuntu 24.04. I tried a fresh installation, but it gets stuck after this point:
matthias@Raspi5:~$ sudo raspiBackup
--- RBK0009I: Raspi5: raspiBackup.sh V0.6.9.1 - 2024-04-27 (536e470) Sun May 5 04:53:56 PM CEST 2024 gestartet.
--- RBK0031I: Prüfe ob eine neue Version von raspiBackup.sh verfügbar ist.
--- RBK0151I: Backuppfad /mnt/PiBackup mit Partitionstyp cifs wird benutzt.
On my NAS, the folder is created, but then nothing happens. This is the log:
20240505-165357 DBG 5743: <-- logSystemDiskState
20240505-165357 DBG 3431: --> executeBeforeStopServices
20240505-165357 DBG 3443: <-- executeBeforeStopServices
20240505-165357 DBG 3409: --> stopServices
20240505-165357 DBG 3416: --- systemctl stop apache2 && systemctl stop cron && systemctl stop mysql && systemctl stop polkit && systemctl stop sn>
20240505-165357 DBG 2601: --> executeShellCommand systemctl stop apache2 && systemctl stop cron && systemctl stop mysql && systemctl stop polkit >
20240505-165741 DBG 4770: --> cleanup
tried on RPi4 and 5
The text was updated successfully, but these errors were encountered: