PBS: error fetching datastores - 401 Unauthorized (500)

adminkc

Member
Sep 28, 2020
82
0
11
27
Hi all,

if I try to connect the PBS to my nodes I get the following error: PBS: error fetching datastores - 401 Unauthorized (500)
Is this error known?

Best,
KC IT-Team
 
do you use the correct user with the correct permissions? any logs on pbs side (syslog/journal)?
 
Okee the one error is now ok.

I get a new error kcs-pbs: Cannot find datastore '/mnt/datastore/rpool', check permissions and existance! (500)

I try everthing and nothing work?

Best
 
you have to put your datastore name in, not the path
 
  • Like
Reactions: RollMops
the same error if i put only the datastore name: kcs-pbs: Cannot find datastore '/rpool', check permissions and existance! (500)
 

Attachments

  • pbs.PNG
    pbs.PNG
    19.4 KB · Views: 305
you have to put the name of the datastore (as defined in pbs) in the field 'datastore' (you have /rpool there now)
 
  • Like
Reactions: clipz98
The name of datastore is rpool.
 

Attachments

  • datastore.PNG
    datastore.PNG
    27.1 KB · Views: 158
yes but without the slash '/rpool' vs 'rpool'
 
Hi,
I have a error like this Backup: error fetching datastores - 400 Bad Request. Does it have the same problem of this topic? I really have no idea to fix this one. Can you guys give me some tips to fix this error. Thank you guys so much!
 
I have a error like this Backup: error fetching datastores - 400 Bad Request. Does it have the same problem of this topic? I really have no idea to fix this one. Can you guys give me some tips to fix this error. Thank you guys so much!
this sounds like a different issue, please open a new thread with more infos (like logs, versions, etc)
 
Datastore --> Permissions --> add

add you need user

like down image
1638848135626.png
 
I had the same problem with me, it was because I had set up 2-factor authentication with the PBS. After I removed them, everything was integrated correctly again
 
  • Like
Reactions: rkerber
I had the same problem with me, it was because I had set up 2-factor authentication with the PBS. After I removed them, everything was integrated correctly again
same here, after removing 2.factor everything is ok again
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get your own in 60 seconds.

Buy now!