[Support] devzwf - Proxmox Backup Server Dockerfiles


Recommended Posts

root@unraid:/mnt/user/backups/pbs# ls -la
total 4
drwxrwxrwx 1     34    34    80 Oct 26 23:47 ./
drwxrwxrwx 1 nobody users    76 May 29 19:25 ../
drwxrwxrwx 1 nobody users 57448 Apr 15  2023 .chunks/
-rw-rw-rw- 1 nobody users   318 Oct 21 02:00 .gc-status
-rw-rw-rw- 1 nobody users     0 Apr 15  2023 .lock
drwxrwxrwx 1 nobody users    90 Oct 25 17:33 ct/
 

Link to comment

Last day or 2 my backup server just stopped working. authkey errors in the logs. No idea yet how to fix this.
Can anyone point me in the right direction?
Thanks

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)', src/auth_helpers.rs:162:63
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PROXY: Starting...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)', src/auth_helpers.rs:162:63
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PROXY: Starting...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)', src/auth_helpers.rs:162:63
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PROXY: Starting...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)', src/auth_helpers.rs:162:63
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
PROXY: Starting...
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)', src/auth_helpers.rs:162:63
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


 

Quote

 

 

Link to comment

The log seems clear....
 

unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)

the container cannot read this file , who is mounted in the container from your Unraid
what is the output of 
 

ls -al /etc/proxmox-backup/

 

Edited by ZappyZap
Link to comment
7 hours ago, ZappyZap said:

The log seems clear....
 

unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)

the container cannot read this file , who is mounted in the container from your Unraid
what is the output of 
 

ls -al /etc/proxmox-backup/

 

 

thanks

 

# ls -al /etc/proxmox-backup/
total 36
drwx------ 1 backup backup  185 Oct 27 16:03 .
drwxr-xr-x 1 root   root   1902 Sep 27 14:39 ..
-rw-r--r-- 1     99 users     0 Sep  3 00:18 .initialized
-rw-r----- 1     99 users    24 Sep 27 14:36 acl.cfg
-rw------- 1     99 users  3243 Sep  3 00:18 authkey.key
-rw-r----- 1     99 users   800 Sep  3 00:18 authkey.pub
-rw-r----- 1     99 users  1675 Sep  3 00:18 csrf.key
-rw-r----- 1     99 users   232 Sep 27 16:30 datastore.cfg
-rw-r----- 1     99 users  3243 Sep  3 00:18 proxy.key
-rw-r----- 1     99 users  2094 Sep  3 00:18 proxy.pem
-rw------- 1     99 users   148 Sep 20 13:35 shadow.json
-rw-r----- 1     99 users   114 Sep 20 13:35 user.cfg

Link to comment

As seen above, I've also had permissions strangeness. Container runs (essentially) fine using 34:34 as user/group (which means other unraid apps can't access the files, but I've worked around that), and then suddenly one (and just one) chunk has 99:100 permissions. No idea why.

Link to comment
10 hours ago, ZappyZap said:

The log seems clear....
 

unable to read "/etc/proxmox-backup/authkey.pub" - Permission denied (os error 13)

the container cannot read this file , who is mounted in the container from your Unraid
what is the output of 
 

ls -al /etc/proxmox-backup/

 

Fixed - granted r/w to groups and other on the pbs appdata folders. Not sure why that was altered.
All running as normal now.

 

Thanks

Link to comment
  • 1 month later...
1 minute ago, zer0zer0 said:

I'm excited to see this container, but it doesn't want to come up on my server

Just gets stuck at

 

12/11/202311:31:59 AM    API: Starting...

12/11/202311:32:00 AM   PROXY: Starting...

 

let me get to my host and i will see what happening there for you 
if i can help would be happy

Link to comment
  • 2 months later...
  • 1 month later...
2 hours ago, ZappyZap said:

What did you put in : Backup path ?
your datastore should be /backups

 


i have tear down my test instance for some hw maintenance.
hopefully i will be able to check/test this tonight or tomorrow

datastore.PNG

Oh my, stupid mistake from me… I tried /backup first and didn’t see the ‘s’.

 

All well and working flawlessly now, thank you :)

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.