Log in not working on new empty instance

I’ve got a new instance of RT 6.0.2 up and running on Ubuntu 24.04 LTS, and I’m about to migrate my old instance database contents into it (from 5.0.3). I can see the new, empty database via the web interface on port 80 (I’ve not set up SSL certs yet because I’ll be transferring the old server name across and will sort it all at that point).

When I log in to the new server using the default credentials set in the empty database, the server log records successful log in, but I get redirected to log in page again in the browser. I’m guessing that this is either a cookie issue, or a session storage issue.

Does anyone have any ideas about how I might go about debugging/fixing this?

For reference, in case it is relevant, the server name that I am using to hit the virtual machine is fake, and only exists in the /etc/hosts file on my local machine.

Thanks in advance for any help.

Later,

Andy

RT now defaults to secure cookies mode, so it doesn’t work on http only out of the box. Set WebHttpOnlyCookies to 0 in the config - but don’t forget to turn it back on once you’ve enabled SSL. RT Config - RT 5.0.8 Documentation - Best Practical

1 Like

Thanks. I suspected it was cookie related. That’s saved me an afternoon :grinning_face: