Ubuntu 14.04 Fog Server 1.20 - Download (Deploy) image issue
-
[quote=“Keifer, post: 35350, member: 25622”]Here is the results.
foguser@fogserver:/$ ls -la /images/
total 20
drwxrwxrwx 5 root root 4096 Aug 13 20:50 .
drwxr-xr-x 26 root root 4096 Aug 9 16:37 …
drwxrwxrwx 2 root root 4096 Aug 13 20:50 dev
-rwxrwxrwx 1 root root 0 Aug 9 16:18 .mntcheck
drwxrwxrwx 2 root root 4096 Aug 9 16:18 postdownloadscripts
drwxrwxrwx 2 root root 4096 Aug 13 20:28 vistatest2foguser@fogserver:/images$ ls -la vistatest2
total 2718156
drwxrwxrwx 2 root root 4096 Aug 13 20:28 .
drwxrwxrwx 5 root root 4096 Aug 13 20:50 …
-rwxrwxrwx 1 root root 2783365986 Aug 13 20:43 0800276c12c4.000
-rwxrwxrwx 1 root root 1 Aug 13 20:28 d1.fixed_size_partitions
-rwxrwxrwx 1 root root 15 Aug 13 20:28 d1.original.fstypes
-rwxrwxrwx 1 root root 259 Aug 13 20:28 d1.original.partitions
-rwxrwxrwx 1 root root 0 Aug 13 20:28 d1.original.swapuuids
[EMAIL]foguser@fogserver:/images$[/EMAIL][/quote]Based on the .swapuuids it looks like your vistatest2 image operating system is set to linux instead of Windows Vista. Go into image management and change this and then re-upload. For a windows image you should see a d1.mbr file
-
1.2.0 had a known issue with Vista images in specifics. The extra files are to be expected but I forgot about vista when recoding all of the things. I’m sorry. I believe it was fixed in 2096 or 2097 of the svn trunk though.
-
I know it was set to vista when I uploaded it. I will try changing the settings to see if it will change how it uploads. thanks
-
I set it to “Windows Vista” it still uploaded the same way. If it is just something with vista then I will go a head and try windows 7 at work. I am testing it for a windows 7 environment anyway. Hope that works better!
-
Or you could install the fog latest version from code according to Tom this has been resolved:
sudo apt-get install subversion
svn checkout [url]http://svn.code.sf.net/p/freeghost/code/trunk[/url] freeghost-code
cd freeghost-code/bin
sudo ./installfog.shI have been using one with version 2196 and a couple of others with 1.2
-
Thanks
-
I tried the commands.
apt-get install subversion
svn checkoutDo I need to link up a different source or repository?
-
Each line needs to be entered together
[QUOTE]
[CODE]sudo apt-get install subversion
svn checkout http://svn.code.sf.net/p/freeghost/code/trunk freeghost-code
cd freeghost-code/bin
sudo ./installfog.sh[/CODE]
[/QUOTE]Otherwise go to [url]http://sourceforge.net/p/freeghost/code/HEAD/tree/[/url] and click on Download Snapshot and navigate to the bin folder and run the last command
-
I updated to the latest release of the server. (Version 2201) It created the image into one file. When I try to do a download. It comes up with a deployment screen, then says “error” at the bottom then reboots.
foguser@fogserver:/images$ ls -la
total 2718152
drwxrwxrwx 4 root root 4096 Aug 16 20:36 .
drwxr-xr-x 26 root root 4096 Aug 16 19:21 …
drwxrwxrwx 2 root root 4096 Aug 16 20:36 dev
-rwxrwxrwx 1 root root 0 Aug 9 16:18 .mntcheck
drwxrwxrwx 2 root root 4096 Aug 9 16:18 postdownloadscripts
-rwxrwxrwx 1 root root 2783365995 Aug 16 20:36 vistatest4
foguser@fogserver:/images$ -
What is the output of
[CODE]ls -la /images/vistatest4[/CODE]Have you tried a different OS yet? Maybe vista issue was not resolved I am not sure I have not used it with fog.
-
Can you try running the upload task in “Download - Debug” mode? To create the “debug” task, cancel the current download task if it’s not already been done. Go to host, list or search for the host you want to upload the task from. Click on the host and go to Basic tasks, choose Advanced, then click and schedule the Download - Debug task. Then boot the host.
When you start the host, the task will not automatically start. At the “command” prompt type fog and hit enter. Then the task will start as normal. There will likely be pauses to help in the debugging process and where things are failing. Can you provide more information using this method?
-
I am having a similar issue here in that I upload an image, but I can’t download/deploy it. Last Friday when I tried, I attempted download, but teh old image deployed, even after deleting the files (I thought_ in the web portal. Today, I deleted the image and checked the box to delete files, so I could reupload. When I console into the server, I still see the files in /images/LatitudeE5510 which is where it says the image should be. This time I deleted through the web portal, then went in via SSH and removed the files and the directory inside /images. I double checked using ls command and the directory was gone. So I reuploaded my syspreped image after creating it again. Now when I go to deploy the image, it says it can’t find the image store. The LatitudeE5510 directory has not been created inside /images.
I did not previously know about the /images/dev directory and when I look inside there, I see several MAC addresses, one being my upload machine.
Is something not moving these files where they should be or something? I had previously looked at the permissions and /images had group and owner and everyone having read/write acccess.
Just wondering where my images are and why I can’t deploy? I am running version 1.2 on Ubuntu server.
-
Is this a Vista image?
-
No sir, it is Windows 7. Sorry for not putting that in.
-
Would you be willing to update to a later svn revisions to see if things start working for you?
-
Sure. At this point, I will try anything.
-
Try:
[code]svn co https://svn.code.sf.net/p/freeghost/code/trunk fog_svn
cd fog_svn/bin
./installfog.sh[/code] -
When I try to run this script, it says that it will use my old IP address, not the current and correct one. How do I modify the script to put in the right IP? When I hit N for no, it exits.
-
Edit the file /opt/fog/.fogsettings
Find the line that’s dealing with the IP and edit it. Save, rerun the installer.
-
OK, the script is done and I am logged back in now. Should I test an upload?
What should I see in the file system as concerning the /images and /images/dev folders?
Thank you!