Cannot access admin panel? #886
-
|
Hi all, I am getting 403-Forbidden if I try to access the admin panel of my installation. This is my config: /opt/adventurelog/frontend/.env I am using Caddy to point the two domains to the container IP (using an LXC in Proxmox thanks to Helper-Scripts btw) to ports 3000 and 8000 respectively, as per the default config. What am I doing wrong?? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
Hi there! Just to double check, you are accessing the admin panel on |
Beta Was this translation helpful? Give feedback.
-
|
@seanmorley15 sorry for the double post, but I just realized that my user is labeled as "normal user" within "settings - advanced". It's the only user in my setup yet, is there a way to elevate to admin or recover the admin credentials somehow? |
Beta Was this translation helpful? Give feedback.
-
|
solved. I was using my user credentials, but Django had different ones and I wasn't aware, I thought these credentials were for messing directly with the DB and not also the admin panel (which I thought part of the app, not a db management tool or such). The LXC script installation page is not very clear about that, nor the one about the admin panel (and also about how to elevate a normal user to staff user and give permissions?) maybe the documentation on adventureLog website could be more extensive and clarify things better (hoping that the script structure won't change often, but that is very unlikely, unless there are major changes in the app itself)? |
Beta Was this translation helpful? Give feedback.
solved. I was using my user credentials, but Django had different ones and I wasn't aware, I thought these credentials were for messing directly with the DB and not also the admin panel (which I thought part of the app, not a db management tool or such). The LXC script installation page is not very clear about that, nor the one about the admin panel (and also about how to elevate a normal user to staff user and give permissions?) maybe the documentation on adventureLog website could be more extensive and clarify things better (hoping that the script structure won't change often, but that is very unlikely, unless there are major changes in the app itself)?