Unauthorized error
-
Hello guys,
I wanted to build another FOG server just for testing purposes and running to this unauthorized error after I finish the setup and try to update the schema via GUI. I tried both Ubuntu 24.04.3 and also 22.04.4, even did an apt-get update and upgrade, got the same result.
I never seen this before and tried googling up fixes, but can’t fix it.
Here’s a screen shot of the error.
The usual screen for you to update the database after the command line prompts you too after a fresh install.
Then I get this error:

I even tried different browsers. I don’t think it matters, but just more information, the hypervisor is Windows Hyper-V. I’m not sure if Ubuntu 26.04 is supported, but I can try to see if I get the same error message.
-
Sorry this is not a helpful response

Crazy this was just posted 10 min ago because I just ran into the same error.
Just did fresh install of Debian 13, trying install latest stable FOG release, everything went well up to this point.
-
@Jab98 said in Unauthorized error:
Sorry this is not a helpful response

Crazy this was just posted 10 min ago because I just ran into the same error.
Just did fresh install of Debian 13, trying install latest stable FOG release, everything went well up to this point.
It’s ok, I’m just curious what happened all of a sudden as I’ve been using Ubuntu 20.xx a long time now before installing FOG. I guess I can try Debian and see how everything goes. Thanks for your input.
-
Just posting more info
This is the only 403 response that shows when I get to the page that says Unauthorized

-
@Jamaal What’s the url that is displayed for you to goto for that on the output of the command telling you where to go?
It should contain a tokenization embedded for you to goto.
-
That token is generated on every run so you seeing what I see doesn’t matter, but it should showup like what you’re seeing here.
-
@Jab98 Please see the message to Jamaal as well.
Yes a security based change was added recently because anyone could force the updates and could export the db without any type of authorization.
-
@Tom-Elliott said in Unauthorized error:
@Jamaal What’s the url that is displayed for you to goto for that on the output of the command telling you where to go?
It should contain a tokenization embedded for you to goto.
Ok, I understand. The URL it gives me is this:

-
@Jamaal So if you go to that URL and click the button to install, you should be successful.
-
Hey Tom,
The URL the installer generates is >
http://10.1.22.37/fog/management/index.php?node=schema&fogtoken=a813f075fc54cdd34f5304ff6cf3a3ee

-
Okay I got past this just by re-running the FOG installer.
It generated a new tokenized URL and this one worked fine!
The new token had way more characters than the first one it printed, not sure if that means anything
