Debian Jessie 8
-
@Wayne-Workman I think a better approach would be:
./installfog.sh --docroot /var/www/html --webroot fog/
-
@Tom-Elliott said:
@Wayne-Workman I think a better approach would be:
./installfog.sh --docroot /var/www/html --webroot fog/
./installfog.sh --docroot /var/www/html --webroot fog/ -y
-
@Wayne-Workman i dont understand what you mean
i dont want to install fog in /var/ww/html
the installer should install it into /var/www
i thought that i only had to launch installfog.sh the it :- install mysql-server and ask me password for admin user (curse interface doesnt appears)
- define the good user/password into .fogsettings
- install fog into /var/www (as 1.2 do)
-
@Tom-Elliott then i should install mysql-server before fog to define root user with a good password ?
-
@plegrand You can change the command if you like to point to the directories that you want.
FOG Trunk is not FOG 1.2.0. Things change. You can set your user/passwords in the /opt/fog/.fogsettings file post-install, and then just re-run the installer afterwards and it’ll use the settings you wrote there.
-
@Wayne-Workman when i launch the installer without parameters, at the end of installation it told me that fog is on " http://192.168.151.243/fog/" but it’s false because when i go to " http://192.168.151.243/fog/" it give me error 404 not found.
and i can see that it install fog into " http://192.168.151.243/html/fog/"
-
@plegrand said:
@Wayne-Workman when i launch the installer without parameters, at the end of installation it told me that fog is on " http://192.168.151.243/fog/" but it’s false because when i go to " http://192.168.151.243/fog/" it give me error 404 not found.
and i can see that it install fog into " http://192.168.151.243/html/fog/"
@Developers sounds like a minor bug.
But, it in fact works?
-
@Wayne-Workman
it’s for this reason i’ll prefere to use stable version but i’ve got t launch twice 1.2 installer to make it works, and i cant change storage location -
@plegrand said:
@Wayne-Workman
it’s for this reason i’ll prefere to use stable version but i’ve got t launch twice 1.2 installer to make it works, and i cant change storage locationYou don’t need to change the storage location to upgrade to trunk. Can you explain the problem with more details?
-
@Wayne-Workman is there a wa y to make that the installer install fog in /var/www/fog by default ?
-
@plegrand said:
@Wayne-Workman is there a wa y to make that the installer install fog in /var/www/fog by default ?
Not by default, but you can specify this with the installer’s arguments like this:
./installfog.sh -D /var/www -W fog/ -y
-
@Wayne-Workman move storage is not an installer problem. With my tests with 1.2 the storage is defaultly on /images and there is no space enough here
i’m going to reinstall trunk version
Could you tell me what is the way to make that the installer install fog in /var/www/fog ?thanks for your help
-
@Wayne-Workman but you agree it’s a litle bug ? or it’s a problem on my machine ?
-
@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.