Debian Jessie 8
-
@plegrand said:
@Wayne-Workman but you agree it’s a litle bug ? or it’s a problem on my machine ?
Yes it’s likely a non-impacting bug.
And you can install with /var/www/fog with the commands below that I’ve provided.
It’s also very easy to change the storage location via the Storage Management area in the Web Interface.
-
@Wayne-Workman i made a symbolic link
cd /var/www/
ln -s /var/www/html/fog/ fog -
@plegrand I don’t understand why you’re insisting that the directory be /var/www
-
@plegrand That method will work. However, as Wayne is suggesting, if you specify the Document Root with the -D or --docroot arguments it should work. Have you tried this and it is not working?
-
I have installed FOG on a fresh Debian 8 system just fine using the SVN. If you are having this many issues already with your setup I might recommend wiping the system and installing fresh again, then grabbing FOG from the SVN the first time.
-
@need2 now i agree with you : if you accept that mysql root has no password
and if you know that if installer told you to go to http://192.168.39.243/fog it means you have to go to http://192.168.39.243/html/fog.
I know it’s a ridiculous bug of the default installer (without parameters) but it disturbed meany way fog seems to be a great program, the forum is very reactif and it permit me to go on
Then thanks again for your help i appreciate
sorry for my poor english
@Tom Elliot : i will try with --docroot to tell you if it works.
But can you confirm me that the installer without parameters make a mistake between http://192.168.39.243/fog and http://192.168.39.243/html/fog to be sur we are agree ?Thanks again for your help everybody !!
-
The problem isn’t a direct mistake in the installer. While I do know what you’re saying, I can’t agree fully. Debian and Ubuntu, for the longest time, had /var/www as the document root by default for a long time. They fairly recently changed their document root to /var/www/html. I believe the problem is the install still assumes /var/www is the default location. I’ll take a look tonight and see if I can figure out a way to approach it a little bit better.
-
@Tom-Elliott … but why the 1.2 version install fog at the right place (/var/www) while svn version install it in /var/www/html ?
-
Because FOG 1.2. is a different animal than Trunk?
I’ve worked VERY hard on the installer and entirety that makes up fog in trunk. While there are times of problems and issues, other minor things are presented that really don’t require much of a change.
The current installer is MUCH more dynamic than it ever has been. First off, it doesn’t just link to your original document root any more. You can actually access your fog server through https now as well. It’s most likely this that’s posing the problem you’re seeing. This being a file I now generate that creates a virtual host definition on how to access your fog server. Document root is the “root location of the website you’re trying to access” This is different from webroot (the area you’re actually trying to view. Document root is what determines your location when you to a base url. Example: http://google.com
this is a Root location of the domain you’re in. Where the files that are served up come from can be anywhere on your filesystem. You can define it to whatever, wherever you want it. So in the case of fog. If you wanted to access the fog management console without having the trailing /fog element (or whatever you call it) you would set the document root to be within the fog webs folder. If you want the trailing /fog element, you go one folder before it.This has changed though. Some versions of Ubuntu and Debian, for the longest time, set the documentroot to /var/www. Ubuntu 14 changed this and set the document root to /var/www/html. In 1.2 the “trick” because things were made assumed, was to create a symbolic link from /var/www/fog to /var/www/html/fog.
I don’t know what other type of answer you’re looking for.
-
@Tom-Elliott In first sorry if I seemed to insist heavily.
As i said before your works is great and the help on the forum also.
I will install fog as you explained me with “./installfog.sh -D /var/www -W fog/ -y” parameters.Sorry again and thanks again for your precious help