local fog 22.214.171.1246 Alpha : Snapin Create Fail : A filen eithier already selected or uploaded, must be specified!
I’m using a local fog server for specific needs :
Sys Info :
Debian GNU/Linux 9
FOG Version : channel Alpha | Version 126.96.36.1996
The upload task and download task work sucessfully but i can’t create any snapin : FOG says :Snapin Create Fail : A filen eithier already selected or uploaded, must be specified!
I tried whith 2 differents exe with this parameters :
Snapin Name : python-3.7.3-amd64 Storage Group : default Snapin Type : Normal Snapin Snapin Template : Batch Script Snapin Run With : /c Snapin File : python-3.7.3-amd64.exe Snapin Argument : /quiet InstallAllUsers=1 PrependPath=1 Include_test=1 Snapin Command : cmd.exe /c /quiet InstallAllUsers=1 PrependPath=1 Include_test=1 ==> Snapin Create Fail : A filen eithier already selected or uploaded, must be specified!
Snapin Name : Putty Storage Group : default Snapin File : putty.exe ==> Snapin Create Fail : A filen eithier already selected or uploaded, must be specified!
root@foglocal:/home/images# ls -lha total 24K drwxrwxrwx 5 fog root 4,0K janv. 11 09:08 . drwxr-xr-x 7 root root 4,0K janv. 10 14:55 .. drwxrwxrwx 2 fog root 4,0K janv. 11 09:08 dev drwxrwxrwx 2 root root 4,0K janv. 11 09:08 HPProBook640G2-CM2017 -rwxrwxrwx 1 fog root 0 janv. 10 11:56 .mntcheck drwxrwxrwx 3 fog root 4,0K janv. 10 14:03 snapins -rwxrwxrwx 1 root root 5 janv. 10 16:12 test.txt
root@foglocal:/home/images/snapins# ls -lha total 12K drwxrwxrwx 3 fog root 4,0K janv. 10 14:03 . drwxrwxrwx 5 fog root 4,0K janv. 11 09:08 .. drwxrwxrwx 3 fog root 4,0K janv. 10 14:03 ssl
14 apt-get update 15 cd /opt/ 16 git clone https://github.com/FOGProject/fogproject.git 23 cd fogproject 24 git pull 25 git fetch --all 26 git checkout working-1.6 27 cd bin/ 28 ./installfog.sh 41 cd /etc/dhcp/ 42 nano dhcpd.conf 59 nano /etc/network/interfaces
What can i do to debug this error ?
@Jonathan-Cool If I’d be in your situation I’d probably go for setting up a new server with current stable version. But you are still in the situation that you’d need to move/copy all your settings and images from this server to the new one. Ex/import of hosts and images should work between those I’d say. But I have not tested this yet as I have not used
Setting up a fresh 1.5.6 server in a VM and testing the ex/import shouldn’t cost more than an hour so I’d definitely give it a try.
What is the best option for me ?
Maybe is to create a new fog installation (on new disk) with a stable version ?
I really need the snapins feature quickly.
Thank you for your answer :)
@Jonathan-Cool Switching back and forth from
working-1.6to latest stable (1.5.6) or
dev-branchis not a good idea. It needs manual correction of values in the DB and is not officially supported.
@Tom-Elliott Can you confirm this being an issue in the latest working-1.6 version?
I tried to update to 188.8.131.520 version but not more success …
i don’t want especially work in alpha version, just a version with snapins feature works … but i don’t want to lose my 16 hosts definition and my image definition.
Maybe i can tried to go to stable branch ?
(tips : https://forums.fogproject.org/topic/9370/how-to-download-the-different-branches/3)
@Jonathan-Cool You are aware of using a sort of alpha version known as “working-1.6”. You might want to run the following commands to update to the very latest version of this alpha stage.
cd /opt/fogproject git pull git checkout working-1.6 cd bin/ ./installfog.sh
@Tom-Elliott is working on this one. Can you confirm the issue?