Problem with a datastore

fsalas

Renowned Member
Sep 9, 2014
12
0
66
Hi, I'm new to pbs and I'm trying to setup a datastore on an usb hard-drive for offsite storage using the manteinance feature.
I've formatted the usb-drive, no problem there, as it is dedicated I setup it with zfs.

The problem is that when I create a datastore on it, albeit is usable, as I can do backups on it, It does not appear on the datastore menu on the left.
It is strange, as it appears on the summary, but not in the menu.

Notice the usbdrive2 datastore, it appears on the right in the summary but not in the left menu

Any clues?
Thanks in advance

1696356281634.png
 
does it show after a browser refresh (F5) ?

if not, with which user are you logged in? which permissions does the user have?

also what does
Code:
proxmox-backup-debug api get /admin/datastore
?
 
Thanks for your answer, tried with F5 and CtrlF5, I'm logged as root in pbs, afaik it has all the permissions (I checked)

The answer of proxmox-backup-debug api get /admin/datastore is

┌──────────────┬──────────────────────┬─────────────┐
│ store │ comment │ maintenance │
╞══════════════╪══════════════════════╪═════════════╡
│ prodVmBackup │ Production VM Backup │ │
├──────────────┼──────────────────────┼─────────────┤
│ testVmBackup │ Test Vm Backups │ │
├──────────────┼──────────────────────┼─────────────┤
│ usbdrive2 │ Offsite Backup 2 │ │
└──────────────┴──────────────────────┴─────────────┘

It is strange as the datastore seams usuable, perhaps a gui bug?

Thanx in advance, and tell me if I can help in anyway to solve it

Fernando
 
Last edited:
Thanks for your answer, tried with F5 and CtrlF5, I'm logged as root in pbs, afaik it has all the permissions (I checked)
what are the exact permissions for that user (just to rule out some weird edge case)

The answer of proxmox-backup-debug api get /admin/datastore is

┌──────────────┬──────────────────────┬─────────────┐
│ store │ comment │ maintenance │
╞══════════════╪══════════════════════╪═════════════╡
│ prodVmBackup │ Production VM Backup │ │
├──────────────┼──────────────────────┼─────────────┤
│ testVmBackup │ Test Vm Backups │ │
├──────────────┼──────────────────────┼─────────────┤
│ usbdrive2 │ Offsite Backup 2 │ │
└──────────────┴──────────────────────┴─────────────┘
ok the datastore is generally in the list there

It is strange as the datastore seams usuable, perhaps a gui bug?
possibly, is there any error message when you open the developer console (F12 for most browser/os)
 
Thanks again Dominik, here's the info

The permissions are basically all:

1697040209170.png

all in yes, including the ones not in the screenshoot

Fouling around the GUI, looks like the GUI doesn't recognize the datastore, for example in the list that appears when you click permissions in datastore:


1697040379099.png

As you can see, the third datastore does not appear in the list...



Here is the content of developer console, no error , just warnings. I'm a programmer, so if you need something like "put a breakpoint here and get the value of this variable..." just ask, I know the grind of finding a bug when you can't reproduce it


Starting Backup Server GUI proxmox-backup-gui.js:349:9

Some cookies are misusing the recommended “SameSite“ attribute 2
downloadable font: Glyph bbox was incorrect (glyph ids 33 55 62 81 82 83 84 87 88 89 90 112 119 120 123 139 159 162 164 166 178 184 185 217 218 272 273 274 275 279 281 284 290 291 292 309 310 319 321 323 326 329 330 331 332 333 334 339 341 347 349 351 352 353 354 357 358 361 366 367 370 371 414 431 436 444 445 458 460 464 465 483 505 508 511 514 516 517 518 520 521 538 539 546 568 574 579 580 585 586 594 596 599 602 603 616 618 622 627 629 630 633 634 638 643 645 651 654 665 675 685 686 688 691) (font-family: "FontAwesome" style:normal weight:400 stretch:100 src index:1) source: https://192.168.193.121:8007/fontawesome/fonts/fontawesome-webfont.woff2?v=4.7.0
Empty string passed to getElementById(). 2 192.168.193.121:8007
Empty string passed to getElementById(). 4 192.168.193.121:8007

Thanks in advance
Best regards

Fernando
 
can you post the content (anonymized if necessary) of /etc/proxmox-backup/acl.cfg ? and which user you are logged in with
 
can you post the content (anonymized if necessary) of /etc/proxmox-backup/acl.cfg ? and which user you are logged in with
Dominic:

Thanxs for your response, sorry for the delay.

The file you ask for is empty in my install. I didn't manipulate it in any way
I'm logged in with root

Thanks in advance
Fernando
 
mhmmm... thats really strange. do you have a maintanence mode set at the moment? if yes with what message and does it work if you remove the maintenance mode again? (with 'proxmox-backup-manager datastore update')
 
Dominic:
Thank you for your answer, sorry to not answer before, I was on a vacation trip.
Today I entered the WebGui and there it was the datastore!!! , nothing changed, so I don't know what to say, probably just some reboots with the disk connected, weird. I was playing with maintenance mode earlier

I will play with it, and come back to you if it happens again

Thank you very much for your time
Fernando
 
Dominic:
An update with this, finally I noticed that the problem happens in Firefox, currently I have it running OK in Opera, and failing in Firefox, if I can do something to help to nail it down just ask, right now I can work from Opera. It must be a bug that happens only in firefox

Thanks
Fernando
 
do you have any plugins/extensions in firefox that might interfere here? could you try testing in a private window?
 
Hmmm, I don't use any plugins/extensions, but you are on the right track, it works fine in private window. The only plugins that appears are related to media codec and or encryption, nothing fancy, any clue?

Thanks
 

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 yours easily in our online shop.

Buy now!