could not mount images folder (/bin/fog.upload)
-
root@fog-03:~# ls -la /images total 40 drwxrwxrwx 10 fogproject root 4096 Nov 5 12:58 . drwxr-xr-x 26 root root 4096 Nov 14 06:49 .. drwxrwxrwx 2 fogproject root 4096 Dec 9 2016 5730Exams drwxrwxrwx 2 fogproject root 4096 Aug 2 2018 8300Win10SW drwxrwxrwx 2 root root 4096 Nov 5 10:38 EliteDesk800G2 drwxrwxrwx 2 root root 4096 Oct 17 08:53 HPProDeskG400G5 drwxrwxrwx 2 fogproject root 4096 Dec 9 2016 Kitchen drwxrwxrwx 2 root root 4096 Nov 4 12:16 LenovoV130-15IKB -rwxrwxrwx 1 fogproject root 0 Dec 1 2016 .mntcheck drwxrwxrwx 2 fogproject root 4096 Dec 9 2016 PresLaptops drwxrwxrwx 2 root root 4096 Oct 16 14:36 winbasic-testws
-
@Trev-lchs Well right there is your problem. Your /images directory isn’t complete on the fog server. You are missing the /images/dev and its files. How did you install the FOG server? Did you do something special when creating the /images directory?
-
no not at all, it used to work brilliantly, those images were all uploaded before with no issues, the only thing that has happened is the updates and the work around that i have already posted?
-
@Trev-lchs ok lets rerun the fog installer to see if it rebuilds the /images/dev directory.
-
-
@Trev-lchs Hi George do you think that might reset other things that we had to change since the install?
-
@Trev-lchs what would be the best way to rerun the installer?
-
@Trev-lchs There is a fog settings file that the installer references. So all of those questions the installer asks in the beginning it remembers in that file. If you haven’t “tweaked” the install any the installer won’t change any options you selected in the beginning. If you have changed IP addresses or network adapters after the install the fog installer will reset them to what you originally selected.
to rerun the installer (depending on how you installed it [git or tarball]) change to the fogproject/bin directory and key in
./installfog.sh
to restart the installer. The installer will fix the directory structure that is missing. -
@george1421 said in could not mount images folder (/bin/fog.upload):
./installfog.sh
Hi George i have a feeling it was using git
-
root@fog-03:~# ls
Desktop Downloads Music Public Videos
Documents jcameron-key.asc Pictures Templatestried cd downloads but no joy
-
@george1421 for give me for being needy but i cant seem to find anywhere that has the install file, i think it was installed using GIT.
root@fog-03:~# cd root/fogproject
bash: cd: root/fogproject: No such file or directory
root@fog-03:~# cd root/fogproject
bash: cd: root/fogproject: No such file or directory
root@fog-03:~# cd fogproject
bash: cd: fogproject: No such file or directory -
@Trev-lchs how about
find / -name fogproject
-
@Trev-lchs said in could not mount images folder (/bin/fog.upload):
Hi Sebastian thanks for the reply i am running 1.5.7.2 j
Makes me think you have that fogproject directory somewhere since this is the development branch of FOG 1.5.7. If you can’t find it then we’ll just run the git clone and get you up to the latest on the dev branch. No worries, but I’m suspicious how the /images/dev directory is missing and the fogproject directory is missing too.
-
@george1421
root@fog-03:~# find / -name fogproject
/root/fogproject
/home/fogproject
find: ‘/run/user/115/gvfs’: Permission denied -
@Trev-lchs said in could not mount images folder (/bin/fog.upload):
/root/fogproject
ok then
cd /root/fogproject/bin
Then./installfog.sh
-
@george1421 running now
-
@Trev-lchs Once its done confirm that the missing directory exists
ls -la /images/dev
-
@george1421 at the end of the install it is asking me to go to 10.10.1.26/fog/management and update the database schema, but this just takes me to the normal fog page, it there anything i need to do?
-
@Trev-lchs If the schema is up to date, it won’t ask you to update it again. It will just go straight to the login page.
-
@george1421
root@fog-03:/root/fogproject/bin# ls -la /images/dev
total 12
drwxrwxrwx 3 fogproject root 4096 Dec 19 15:33 .
drwxrwxrwx 12 fogproject root 4096 Dec 19 15:33 …
-rwxrwxrwx 1 fogproject root 0 Dec 19 15:33 .mntcheck
drwxrwxrwx 2 fogproject root 4096 Dec 19 15:33 postinitscripts
root@fog-03:/root/fogproject/bin#