UPS, Yes
Is there a way i can upload log files to you?
try to find my email…
they are coming to you by mail
I will do the test on Upgrade from BackuPC v3 now.
So:
New server V7,7
Add it to my domain
Install Backupc v3.3.1
Check that everything is running
Upgrade to Backuppc V4.3.1according to your recipe.
I’ll be back later with results:-)
thank
Here is then the result of my test:
- Installing a new server V7,7 (thumbs up)
- Updating server (thumbs up)
- Add it to my domain (thumbs up)
- Install Backupc v3 (thumbs up)
- Check that everything is running (thumbs up)
- Upgrade to Backuppc V4.3.1according to your recipe.
- As i run this command “rpm -e --nodeps nethserver-BackupPC BackupPC” these warnings come
- As i run this command “yum install nethserver-BackupPC4 --enablerepo=stephdl” these warnings come
- After end install, Backuppc is running
- But after a reboot the service is not start, have to manual click the start button In the service interface, to start it.
- As i run this command “rpm -e --nodeps nethserver-BackupPC BackupPC” these warnings come
PS: log files are coming to you via mail
Ok I cannot reproduce…no joy @Michael_Dahlgren_Nie but in you log I found this
Oct 30 19:50:37 test systemd: Started BackupPC server.
Oct 30 19:50:37 test systemd: Starting Availability of block devices...
Oct 30 19:50:37 test systemd: Failed at step RUNTIME_DIRECTORY spawning /usr/share/BackupPC/bin/BackupPC: File exists
Oct 30 19:50:37 test systemd: Started Reconfigure newtork interfaces.
Oct 30 19:50:37 test systemd: Started Permit User Sessions.
Oct 30 19:50:37 test systemd: backuppc.service: main process exited, code=exited, status=233/RUNTIME_DIRECTORY
Oct 30 19:50:37 test systemd: Unit backuppc.service entered failed state.
Oct 30 19:50:37 test systemd: backuppc.service failed.
I bound to a remote Samba AD (nethserver 7.7) without problem
EDIT… I can reproduce…JOY
it seems that systemd cannot start the service because the runtime directory still exist, fun.
I test to trick the systemd service
[Service]
RuntimeDirectory=BackupPC
RuntimeDirectoryMode=0755
KillSignal=SIGTERM
Restart=always
RestartSec=1
It is position by which you can reproduce errors
Should I test something for you?
yes please
yum install http://mirror.de-labrusse.fr/NethDev/nethserver-BackupPC4/nethserver-BackupPC4-1.1.7-1.ns7.sdl.noarch.rpm
on a new server?
Here is then the result of my test:
- Installing a new server V7,7 (thumbs up)
- Updating server (thumbs up)
- Add it to my domain (thumbs up)
- Check that everything is running (thumbs up)
- Intalling Backuppc V4.3.1according to your recipe.
- As i run this command “http://mirror.de-labrusse.fr/NethDev/nethserver-BackupPC4/nethserver-BackupPC4-1.1.7-1.ns7.sdl.noarch.rpm” these warnings come
- As i run this command “http://mirror.de-labrusse.fr/NethDev/nethserver-BackupPC4/nethserver-BackupPC4-1.1.7-1.ns7.sdl.noarch.rpm” these warnings come
so it did not go well, enough good advice:laughing:
Install the backuppc repo please
ups my bad:upside_down_face:
Here is then the result of my test:
- Installing a new server V7,7 (thumbs up)
- Updating server (thumbs up)
- Add it to my domain (thumbs up)
- Install Backupc v4
- install the copr BackupPC repository:
“wget https://copr.fedorainfracloud.org/coprs/hobbes1069/BackupPC/repo/epel-7/hobbes1069-BackupPC-epel-7.repo -O /etc/yum.repos.d/BackupPC4.repo” - As i run this command “yum install http://mirror.de-labrusse.fr/NethDev/nethserver-BackupPC4/nethserver-BackupPC4-1.1.7-1.ns7.sdl.noarch.rpm” these warnings come
- After end install, Backuppc service is not running
- But after a reboot of the server, the service is now start.
And it look like that Backuppc is running:
PS: log files are coming to you via mail
Thank for your patience, backuppc this time cannot create the run directory …
Nov 2 10:25:54 ns7loc12 systemd: backuppc.service holdoff time over, scheduling restart.
Nov 2 10:25:54 ns7loc12 systemd: Stopped BackupPC server.
Nov 2 10:25:54 ns7loc12 systemd: Started BackupPC server.
Nov 2 10:25:54 ns7loc12 BackupPC: 2019-11-02 10:25:54 Can't create /var/run/BackupPC... exiting
Nov 2 10:25:54 ns7loc12 systemd: backuppc.service: main process exited, code=exited, status=1/FAILURE
Nov 2 10:25:54 ns7loc12 systemd: Unit backuppc.service entered failed state.
Nov 2 10:25:54 ns7loc12 systemd: backuppc.service failed.
please could you test it again, it should work now