netgroup-polito / CrownLabs

Kubernetes-based Remote Laboratories
https://crownlabs.polito.it
Apache License 2.0
107 stars 42 forks source link

"Drive" homepage button points to old (BSc) Nextcloud instance instead of MSc Nextcloud instance #915

Closed Mattia013 closed 2 days ago

Mattia013 commented 5 days ago

Describe the bug When I connect to Crownlabs with my MSc account and try to access the Nextcloud Drive, it points to my BSc Nextcloud Drive instance.

To Reproduce Steps to reproduce the behavior:

  1. Go to Crownlabs homepage
  2. Click on Drive
  3. Click on Files (top-left corner)
  4. Click on Setting (bottom-left corner)
  5. Check the WebDAV link (the final part of the link contains the matricola number)

Expected behavior It should point to the MSc Drive.

Desktop (please complete the following information):

QcFe commented 2 days ago

Hi @Mattia013, thanks for your issue. What do you exactly mean with MSc and BSc drives? There should be just a nextcloud account per user.

Mattia013 commented 2 days ago

Hi @QcFe ! By BSc and MSc drive, I mean the Nextcloud instances related to my BSc and MSc matricula.

In particular, when I log in to Crownlabs with my new MSc matricula, I would expect to click on the "Drive" button and be redirected to the Nextcloud instance of that particular account (which is also the one mounted in the VMs I spawn), instead the link points to the Nextcloud instance of my old account. This is inconvenient, since I cannot access the files I upload from my non-persistent VMs.

QcFe commented 2 days ago

This is pretty weird to be honest, there's nothing like a link between the two matriculas. Have you tried through incognito mode as well? If it work that way, then it's likely some sort of long session that for some reason is kept live with NextCloud... In that case logging out should be enough to fix your main browser profile as well

Mattia013 commented 2 days ago

In incognito everything worked as exptected.

I tried clearing the browser history, and after logging in, everything works also in my main browser profile. Thank you for helping!

QcFe commented 2 days ago

NP! Either way sooner or later the nextcloud based mydrive experience will be dismissed in favor to cloud native storage (if we manage to set it up meaninfully...)