Can´t start UrBackup server on Linux due to "Raising nice-ceiling to 35 failed. (errno=1)" error

Hello there,

I would be very grateful if someone could give me a hand here.

I just installed UrBackup server in my Manjaro KDE. The installation proccess was Ok.

But now I can’t start the software, because the urbackupsrv run command always displays the below error:

Raising nice-ceiling to 35 failed. (errno=1)
2022-11-22 11:43:54: ERROR: Running as wrong user. Specified user "urbackup" with uid 961 but running as uid 1000

I am running Manjaro with KDE 5.26.3.

Any help would be greatly appreciated. :slight_smile:

Suspecting the service is running as your user (id 1000) instead of the created user “urbackup” (id 961)

Don’t know where your service files are (on debian you can create an override in /etc/systemd/system/urbackupsrv.service with cmd “sudo systemctrl edit --full urbackupsrv.service” or just create your own with a text editor) Maybe edit the service file and add “User” and “Group” under service as something simular (edit as fits you, f ex removing waiting for mounts, I suspect you don’t have the same mounts as me):

[Unit]
Description=Urbackup Server
# Start after network and specified mounts are available
After=network-online.target media-diverse.mount
Requires=media-diverse.mount
# Stops if mount points disconnect
BindsTo=media-diverse.mount

[Service]
Type=simple
User=urbackup
Group=urbackup
ExecStart=/usr/bin/urbackupsrv run
Restart=on-failure
TimeoutStopSec=300

[Install]
WantedBy=multi-user.target

This might be a useful read.

Hello,

Thank you very much for your help and kindness.

I’ll verify. :slight_smile: