Installing IdeaSpace in Azure VM problems
-
Hello all.
I configure a LAMP Ubuntu 18 VM in Azure and follow all the instructions to install IdeaSpace I go to all major known issues about the modrewrite, permissions and so and at the end I have this completly different 404 error:Not Found
The requested URL /install was not found on this server.
I don´t find where /install is.
Can somebody help me on this?
Thank you.
Best.
-
Hi,
what do you mean by saying "at the end"? At the end of the installation process? Did you enter the database details already? When exactly is the 404 error coming?
-
It appears instead of the server requirements information page. So I create the database but still don´t have the option to insert the details in the database connection.
-
How does the URL path look like? Do you see an index.php in the path? It is very likely that mod_rewrite does not work or is not configured properly. That's why /install is not found, because it needs mod_rewrite.
Please verify if you have the .htaccess file in your web root: https://github.com/IdeaSpaceVR/IdeaSpace/blob/master/.htaccess
If you have that file I would like to know which web server and php you are using. Did you restart php and your web server after configuring mod_rewrite? https://serverfault.com/questions/189940/how-do-you-restart-php-fpm
-
The URL looks ......azure.com/install but that was before. I did some changes installing php-fdm and php-gd not previously installed. Allow override is set to all in /var/www and I have the .htaccess file in my web root. The server is apache2 and php is 7.2 and after restarting apache and php now I have a blank page.
-
Do you see any errors in the general php logs?
Do you see any errors in the IdeaSpaceVR logs: storage/logs/laravel.log ?
If you create a test.php file in your web root and put phpinfo(); into that file and open it on your domain, is it executed?
-
Hello again, I do a clean installation from zero and right now is installed but not working well.
First, important notice to those who want install in Azure:
php-gd, php-fpm and php7.2-mbstring must be installed as they are not installed by default.
Now the apache2.conf is modified to AllowRewrite All in Directory /var/www/
But the URLs generated are like ........com/index.php/.....
There is no screenshots shown in the themes page
and at the end no preview or load of the pages generated.Thank you @WeddingDJ if I don´t say it before.
-
You should not see index.php in the path. This means you still have an issue with the mod_rewrite, that's why no screenshots etc. are shown. It could be that Azure has a problem with reading the .htaccess file. A quick search showed https://social.msdn.microsoft.com/Forums/azure/en-US/962140bf-9bdb-41d9-9886-227295787169/modrewrite-in-azure?forum=windowsazuredata
-
Success!!
At the end all the things about mod_rewrite seems to work and the problem with the image and other external calls needs to be ensured in the firewall inbound traffic rules.
By default inbound traffic is not open in port 80.
It was a little bit hard but this could be done to sell IdeaSpace as an Azure App.
Think about.
And thank you again for the support.
-
@dao-li I am happy it works, has been a tricky one!