Installation Error J4 Azure

Need help installing Joomla! 4.x? For all Joomla! 4.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
DHarryson
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Mar 10, 2023 12:51 am

Installation Error J4 Azure

Post by DHarryson » Fri Mar 10, 2023 12:57 am

Hey There,

I am currently attempting to install Joomla 4 in Azure App Service leveraging an Azure for MySQL database. As some background information, the setup is behind a virtual network, and I have confirmed that the app instance can reach the database. Also, the app instance is running Linux. After extracting the files in the app instance I attempted to install Joomla 4 through the web. During the process I either get two errors:

* The security token did not match
* The installation process failed

All credentials are correct for the database and other fields. I have also tried modifying the php.ini file, configuring-dist.php, and also nginx. I am not sure what else can be the issue.I have also tried extracting Joomla using Filezilla with no luck. After doing research, I came across it possibly being either a db issue or cookie. As mentioned, I have confirmed that the instance can access and write to the database. Anu thoughts?

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 16544
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Installation Error J4 Azure

Post by toivo » Fri Mar 10, 2023 2:48 am

Welcome to the Joomla forum!

Did you follow the installation instructions: J4.x: Installing Joomla and Nginx.

Make sure that the permissions of the folders are 755 and for files 644.

If you have issues and error messages are displayed, please copy and paste them to your reply and also post the results from the Forum Post Assistant (FPA) by following the instructions at https://forumpostassistant.github.io/docs/ so that our experts can review the configuration.
Toivo Talikka, Global Moderator

DHarryson
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Mar 10, 2023 12:51 am

Re: Installation Error J4 Azure

Post by DHarryson » Sat Mar 11, 2023 5:39 am

Hey there,

So I have done the steps in the Joomla Installation and NGINX config as well. I attempted to use the FPA file however I run into some issues. I either get a 404 error or when it does work, it states that the file has been there for too long and will be deleted. Im not sure what else I can do to make it work.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 16544
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Installation Error J4 Azure

Post by toivo » Sat Mar 11, 2023 6:02 am

The following topic shows what to do if the file fpa-en.php deletes itself automatically:
fpa-en.php auto-deleted
Toivo Talikka, Global Moderator

DHarryson
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Mar 10, 2023 12:51 am

Re: Installation Error J4 Azure

Post by DHarryson » Sun Mar 12, 2023 4:21 pm

Hello,

So I still encounter the error "Not Found" and it appears that I have my file structure setup correctly. I also ensured file permissions are correct. I created a PHP info page to test and I was able to access that document.

Image
You do not have the required permissions to view the files attached to this post.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 42902
Joined: Sat Apr 05, 2008 9:58 pm

Re: Installation Error J4 Azure

Post by Webdongle » Sun Mar 12, 2023 8:23 pm

So php info works but the fpa says file not found. Have you something in the network that would redirect when trying to access certain paths?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

DHarryson
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Mar 10, 2023 12:51 am

Re: Installation Error J4 Azure

Post by DHarryson » Mon Mar 13, 2023 3:36 pm

Not at all which is why I am quite confused. I even went as far as to build another environment that consists of the Azure App Service and Azure MySQL db but without the vnet. The issue persists and it will not get passed the db part of the installation. I also made sure that the creds are correct. I can even access the db when I ssh into the app instance. When this occurs, I use the browser's console and it states "Error in DB check endpoint"

sandman9
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Thu Nov 15, 2007 8:30 pm

Re: Installation Error J4 Azure

Post by sandman9 » Tue May 30, 2023 7:29 pm

Did you ever figure out how to get azure authentication working with Joomla?


Post Reply

Return to “Installation Joomla! 4.x”