• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    local fog 1.5.4.586 Alpha : Snapin Create Fail : A filen eithier already selected or uploaded, must be specified!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    7
    727
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Jonathan CoolJ
      Jonathan Cool
      last edited by

      Hi !
      I’m using a local fog server for specific needs :
      Sys Info :
      Debian GNU/Linux 9
      FOG Version : channel Alpha | Version 1.5.4.586
      FOG_SNAPINDIR /home/images/snapins
      FOG_CLIENT_SNAPIN_ENABLED checked

      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
      

      History :

         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 ?

      My stuff :
      Server :
      FOG Version : Running Version 1.5.9
      OS : Debian GNU/Linux 10
      FOG Client Version : 0.12
      Specifications :
      > All images are on a Synology NAS storage : mounted with NAS_ip:/images
      > French user :)
      > “If everything would work the first time, what would you have learned?”
      Challenges make knowledge growth … by George1421 ;)

      1 Reply Last reply Reply Quote 0
      • Jonathan CoolJ
        Jonathan Cool
        last edited by

        This old topic is solved !
        I was setup a new FOG stable server on a debian (on a new disk) and snapins works flawlessly.

        Solved ! 😉

        My stuff :
        Server :
        FOG Version : Running Version 1.5.9
        OS : Debian GNU/Linux 10
        FOG Client Version : 0.12
        Specifications :
        > All images are on a Synology NAS storage : mounted with NAS_ip:/images
        > French user :)
        > “If everything would work the first time, what would you have learned?”
        Challenges make knowledge growth … by George1421 ;)

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @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?

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • Jonathan CoolJ
            Jonathan Cool
            last edited by

            Hi,
            I tried to update to 1.5.6.700 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)

            My stuff :
            Server :
            FOG Version : Running Version 1.5.9
            OS : Debian GNU/Linux 10
            FOG Client Version : 0.12
            Specifications :
            > All images are on a Synology NAS storage : mounted with NAS_ip:/images
            > French user :)
            > “If everything would work the first time, what would you have learned?”
            Challenges make knowledge growth … by George1421 ;)

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by

              @Jonathan-Cool Switching back and forth from working-1.6 to latest stable (1.5.6) or dev-branch is 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?

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • Jonathan CoolJ
                Jonathan Cool
                last edited by

                Hi !

                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 🙂

                My stuff :
                Server :
                FOG Version : Running Version 1.5.9
                OS : Debian GNU/Linux 10
                FOG Client Version : 0.12
                Specifications :
                > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                > French user :)
                > “If everything would work the first time, what would you have learned?”
                Challenges make knowledge growth … by George1421 ;)

                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by

                  @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 working-1.6 much.

                  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.

                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                  1 Reply Last reply Reply Quote 0
                  • Jonathan CoolJ
                    Jonathan Cool
                    last edited by

                    This old topic is solved !
                    I was setup a new FOG stable server on a debian (on a new disk) and snapins works flawlessly.

                    Solved ! 😉

                    My stuff :
                    Server :
                    FOG Version : Running Version 1.5.9
                    OS : Debian GNU/Linux 10
                    FOG Client Version : 0.12
                    Specifications :
                    > All images are on a Synology NAS storage : mounted with NAS_ip:/images
                    > French user :)
                    > “If everything would work the first time, what would you have learned?”
                    Challenges make knowledge growth … by George1421 ;)

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    210

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project