Was having problems yesterday with my server, which the community seemed to think were irreparable, so I decided to rebuild it.
Set up a LAMP stack with Redis and re-installed magento. Used my existing database, imported images from the old server and everything was working fine, after a little troubleshooting.
My Redis installation was only being used for session storage, because magento's documentation doesn't make it clear whether a password can be used with redis for other types of storage. I managed to find a walkthrough which gives an example of the env.php file, including passwords for redis default and full page cache. I applied this solution and it appeared to be working last night, but when I attempted to access the admin panel this morning I faced an error.
The public folder of my server is a symlink to
The base URL is set as follows:
Media URL is:
Static URL is:
Backend frontname is:
For some reason, when I type
http://mywebsite.com/admininto the address bar and push enter, I am redirected to the url
So, for some reason, the base URL either isn't being added, or is being interpreted as
/index.php. Also, the second repetition of the url includes two instances of
admin/, which makes me think that maybe the backend frontname that I have defined is being appended with the default. I could perhaps troubleshoot this issue, but I can't work out why the URL is not prepended with the site's base URL.