Works on Orange Pi 5 Plus running Ubuntu 24.04 #761
Replies: 10 comments 12 replies
-
Thank you very much for sharing your experience. I know raspiBackup is used on unsupported environments successfully by a lot of folks but as long as I cannot test the environment I don't support these environments officially. But that's why I added the
Jut to make sure I get you: If you invoke raspiBackup on the command line everything works fine. If systemd is used to start raspiBackup you get some errors. Or did yo install raspiBackup to use crond? Your workaround is to invoke raspiBackup via cron as user root. You may try to install raspiBackup and have raspiBackup to use crond. If you use option What's the error you get when you use the raspiBackup way to invoke raspiBackup scheduled? |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the logs. I cannot promise I fix this issue but if it's a low hanging fruit I will 😉 That's what I get on my Ubuntu on a Raspberry4:
That's what I see in your debug log:
There is just one partition instead of two on a Raspberry. raspiBackup fails because it's not detecting the bootpartition. If there exists no bootpartition it's expected to find cmdline.txt on either find /boot or /boot/firmware which doesn't exist on your system. It seems this test is a bit too strong and I should relax the test. Could you please show me the result of following commands on your system and post the result?
|
Beta Was this translation helpful? Give feedback.
-
Ok. Thank you very much. You don't use the official Ubuntu image published for Raspberries. Where downloaded you the image from (URL please 😉) Just to get an idea whether it's worth to add some code to enable raspiBackup to accept Ubuntu without cmdline.txt. I then will create a branch for you to test the mod 😉 |
Beta Was this translation helpful? Give feedback.
-
It's interesting to see there is some guy who publishes Ubuntu 24-02 images for various platforms. I'm going to create a less restrictive branch for you now to test if it works on an Orange HW. But not today any more ... it's too late. Will keep you updated. |
Beta Was this translation helpful? Give feedback.
-
😢 I was confident it will work now for you. Because of this I didn't add any debug statements and unfortunately don't know why my fix doesn't work 😢 I'm AFH the next week and not able to work on this. I will check and provide a version with more debug statements when I'm back. This proves it was a valid decision to add the Don't worry about this - I will give it another shot and hope I will locate the root cause of your issue. But if I will fail again I will stop - I handle only low hanging fruits if there is an |
Beta Was this translation helpful? Give feedback.
-
I found and fixed the coding bug. Please try again. |
Beta Was this translation helpful? Give feedback.
-
Hi,This works from the command line. I’ll try it from systemctl tonight. On Jun 14, 2024, at 2:36 PM, framp ***@***.***> wrote:
I found and fixed the coding bug. Please try again.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Keep in mind you have to add the option --unsupportedEnvironment in /etc/systemd/system/raspiBackup.service ExecStart line 😉 |
Beta Was this translation helpful? Give feedback.
-
Success! I've attached the log file if you need to check anything. Thank you for doing this, I appreciate your efforts. sudo systemctl status raspiBackup Jun 16 20:09:24 orangepi raspiBackup.sh[1588712]: Stopping 'snapd.service', but its triggering units are still active: |
Beta Was this translation helpful? Give feedback.
-
Great it works now. The change will be available in next release of raspiBackup. |
Beta Was this translation helpful? Give feedback.
-
This isn't a question but I thought it may be useful.
Having successfully run raspiBackup on my RaspberryPi 4 to a Synology NAS I thought I would try it on my OrangePi 5 Plus with Ubuntu 24.04. From the command line it works perfectly with the --unsupportedEnvironment switch. However it fails using the Regular Backup option from raspiBackupInstallUI with what looks like an authority problem accessing /run/user/1000/docs and /run/user/1000/gvfs.
I overcame this issue by running it from the system-wide crontab in /etc/crontab and specifying "root" in the user name.
Beta Was this translation helpful? Give feedback.
All reactions