Updated from Fog v1.50 to V1.52 issue
-
@george1421 I can re-install using this method if you think that would assist in finding the issue?
-
@bigsease30 What Tom has said is that he thinks your issue was addressed in the prerelease version of 1.5.3. He would like you to install this prerelease version of 1.5.3 to see if your problems are resolved. If they are not resolved then I suspect they will hold up 1.5.3 (stable) until the devs find the root of your issue.
-
@george1421 OK, Reinstalled everything again. Following the instructions provided. I am now looking at V1.5.2.11. Same issues are present.
Should I switch from Ubuntu and move to CentOS?
-
@bigsease30 I can duplicate the issue with 1.5.2 and ubuntu 16.04. Now to understand why…
-
I found what the installer did incorrectly.
This is the default config file
/etc/apache2/sites-enabled/001-fog.conf
.<VirtualHost *:80> <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000/" </FilesMatch> KeepAlive Off ServerName 10.0.0.6 DocumentRoot /var/www/ RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] <Directory /var/www/fog/> DirectoryIndex index.php index.html index.htm RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d RewriteRule ^/(.*)$ /fog/api/index.php [QSA,L] </Directory> </VirtualHost>
The closing
</Directory>
directive is in the wrong place. It should look like this:<VirtualHost *:80> <FilesMatch "\.php$"> SetHandler "proxy:fcgi://127.0.0.1:9000/" </FilesMatch> KeepAlive Off ServerName 10.0.0.6 DocumentRoot /var/www/ RewriteEngine On RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* - [F] <Directory /var/www/fog/> DirectoryIndex index.php index.html index.htm </Directory> RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d RewriteRule ^/(.*)$ /fog/api/index.php [QSA,L] </VirtualHost>
Note: I also indent corrected the rewrite rules
If you correct your/etc/apache2/sites-enabled/001-fog.conf
how I listed above FOG 1.5.2 will work correctly. -
@george1421 Thanks for your assistance George. This resolved both issues that I was experiencing. Nice catch.
-
@george1421 Thanks George. That solved my problem.