Just stumbled upon this excellent plugin, very useful. Including shellcheck and pylint is a very nice touch. Big thanks to the dev.
Posts by CGA11
-
-
I would if I could but the system becomes inaccessible after it's stuck at this line. It seems to be stuck forever and if I pull the power and restart and try to log in again it rejects my ssh password. Anyway, since I seem to be the only one having this problem, I'm not going to pursue this further, I'm going to do a clean installation. Big thanks for trying to help me though!
-
Made a third attempt with a new backup placed in a rootfs folder, same result. I'm posting the last lines of the terminal output below as no log is available:
Code
Display MoreFormatting database Reading the value of /config/system/usermanagement/users in original database... Reading the value of /config/system/usermanagement/users in actual database... Regenerating /config/system/usermanagement/users... Creating temporary database... Deleting current /config/system/usermanagement/users node... Copying original users tag... Moving users to /config/system/usermanagement... /config/system/usermanagement/users node regenerated in the database. Applying configuration changes to salt modules... Configuring salt postfix... Salt module postfix configured. Configuring salt rsync... Salt module rsync configured. Configuring salt rsyncd... Salt module rsyncd configured. Configuring salt samba... Salt module samba configured. Configuring salt systemd... -
That's confusing. You cannot have Debian installed on one drive and OMV installed on a different drive. Maybe you mean you have a USB data drive and the OS on the SD card?
If that drive was configured in the original system that will not work. The best procedure is to copy the backup to a folder in rootfs. You can do it via ssh, with WinSCP or whatever you want. In the worst case you can mount another drive or a different pendrive with the backup, but it is not the best.
That's what I meant.
I realized that mistake and on the second attempt I copied the backup to a rootfs folder, still got stuck in the same place.
-
Same result on second try, system stuck and had to pull the power. When trying to log in again, my password is rejected. Pulled the stick and connected it to my laptop, checked /var/log but the log file was empty. I'm giving up on this for the time being, guess I'll have to set everything up from scratch again.
-
It's not normal. What part of the database was being regenerated at that time? Can you post the last lines of the output? You can see it in the log. It is in /var/log/omv-regen
I had to interrupt the process. I'm going to give it another go and post the output /var/log/omv-regen if it gets stuck again I'm a little unclear about the procedure, so I want to check if I've understood the process correctly.
Previously I had Debian installed on an SD-card and the Pi was connected to an external usb-drive where OMV was installed. My goal now is to install Raspbian on a smaller usb-stick and keep the Pi connected to the same external drive.
I installed Raspbian on the new stick after disconnecting the external drive and ran apt upgrade and apt full-upgrade. I shut down the Pi and connected the External drive and started it up again.
After the Pi had booted up, the external drive, where the OMV-regen-backup is located, was not mounted, so I mounted it under /media/External and ran OMV-regen regenerate.
Edit: Forgot to mention that I obviously installed OMV before running OMV-regen.
-
Trying regeneration on an RPI4 with updated Raspbian and it now has been stuck on "Configuring salt systemd" for at least 30 minutes. Is this "normal"?
-
Thank you.
I think I'll try to schedule this but it will take a lot of time that I don't have right now.
Good to hear, in your own time.
-
Another idea is occurring to me. You could have the omv-regen backup include the packages that currently exist in the backup. That way they would be available to install during regeneration. They would have to be downloaded every time a backup is made, of course. And update the system previously. What do you think?
Just registered to say that I think this is an excellent idea.