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

snappin doesn't work

Scheduled Pinned Locked Moved Unsolved
FOG Problems
6
39
9.6k
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.
  • Z
    Zaarin
    last edited by Feb 9, 2017, 12:53 PM

    Oups I cannot answer this question. I let the expert saying something.

    Nethertheless, I already used snapin with powershell script for an old project and I remember that I compiled the script into an exe (with “Powergui script editor” -> Tools -> compile script) to avoid any problem with path environment like powershell didn’t find the ps1.

    I got problem myself without any argument, so with argument… it’s the hell on earth.

    Please try to compile the office 2010 ps1 into an exe and try.

    Greetings from France/Luxembourg.

    Zaza.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 9, 2017, 1:22 PM

      Can you get us the log? That will tell us a lot more, I hope, than what we’re seeing on this particular snippet of log you’ve given us.

      Right now it appears to be saying the exact command it’s trying to run is:

      powershell.exe -ExecutionPolicy allsigned -File -ExecutionPolicy allsigned -File -programme "P:\packages\audio video\vlc\inst_vlc.bat"

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      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

      L 2 Replies Last reply Feb 9, 2017, 1:55 PM Reply Quote 1
      • L
        lebrun78 @Tom Elliott
        last edited by Feb 9, 2017, 1:55 PM

        @Tom-Elliott
        I did a new deploy
        Here is the entire log file:

         09/02/2017 14:28 Main Overriding exception handling
         09/02/2017 14:28 Main Bootstrapping Zazzles
         09/02/2017 14:28 Controller Initialize
         09/02/2017 14:28 Zazzles Creating main thread
         09/02/2017 14:28 Zazzles Service construction complete
         09/02/2017 14:28 Controller Start
        
         09/02/2017 14:28 Service Starting service
         09/02/2017 14:28 Bus Became bus server
         09/02/2017 14:28 Bus {
          "self": true,
          "channel": "Status",
          "data": "{\r\n  \"action\": \"load\"\r\n}"
        }
         09/02/2017 14:28 Bus Emmiting message on channel: Status
         09/02/2017 14:28 Service Invoking early JIT compilation on needed binaries
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:28 Client-Info Version: 0.11.9
         09/02/2017 14:28 Client-Info OS:      Windows
         09/02/2017 14:28 Middleware::Authentication Waiting for authentication timeout to pass
         09/02/2017 14:28 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt
         09/02/2017 14:28 Data::RSA FOG Server CA cert found
         09/02/2017 14:28 Middleware::Authentication Cert OK
         09/02/2017 14:28 Middleware::Authentication ERROR: Could not get security token
         09/02/2017 14:28 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         09/02/2017 14:28 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService
         09/02/2017 14:28 Middleware::Response Invalid security token
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:28 Client-Info Version: 0.11.9
         09/02/2017 14:28 Client-Info OS:      Windows
         09/02/2017 14:28 Middleware::Authentication Waiting for authentication timeout to pass
         09/02/2017 14:30 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt
         09/02/2017 14:30 Data::RSA FOG Server CA cert found
         09/02/2017 14:30 Middleware::Authentication Cert OK
         09/02/2017 14:30 Middleware::Authentication ERROR: Could not get security token
         09/02/2017 14:30 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         09/02/2017 14:30 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService
         09/02/2017 14:30 Middleware::Response Invalid security token
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:30 Client-Info Version: 0.11.9
         09/02/2017 14:30 Client-Info OS:      Windows
         09/02/2017 14:30 Middleware::Authentication Waiting for authentication timeout to pass
         09/02/2017 14:43 Main Overriding exception handling
         09/02/2017 14:43 Main Bootstrapping Zazzles
         09/02/2017 14:43 Controller Initialize
         09/02/2017 14:43 Zazzles Creating main thread
         09/02/2017 14:43 Zazzles Service construction complete
         09/02/2017 14:43 Controller Start
        
         09/02/2017 14:43 Service Starting service
         09/02/2017 14:43 Bus Became bus server
         09/02/2017 14:43 Bus {
          "self": true,
          "channel": "Status",
          "data": "{\r\n  \"action\": \"load\"\r\n}"
        }
         09/02/2017 14:43 Bus Emmiting message on channel: Status
         09/02/2017 14:43 Service Invoking early JIT compilation on needed binaries
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:43 Client-Info Version: 0.11.9
         09/02/2017 14:43 Client-Info OS:      Windows
         09/02/2017 14:43 Middleware::Authentication Waiting for authentication timeout to pass
         09/02/2017 14:43 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt
         09/02/2017 14:43 Data::RSA FOG Server CA cert found
         09/02/2017 14:43 Middleware::Authentication Cert OK
         09/02/2017 14:43 Middleware::Authentication ERROR: Could not get security token
         09/02/2017 14:43 Middleware::Authentication ERROR: Le fichier 'C:\Program Files (x86)\FOG\token.dat' est introuvable.
         09/02/2017 14:43 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService
         09/02/2017 14:43 Middleware::Response Success
         09/02/2017 14:43 Middleware::Authentication Authenticated
        
        
         09/02/2017 14:43 Bus Registering ParseBus in channel Power
         09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&configure&newService&json
         09/02/2017 14:43 Middleware::Response Success
         09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
         09/02/2017 14:43 Middleware::Response Success
         09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?clientver&newService&json
         09/02/2017 14:43 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?newService&json
        
         09/02/2017 14:43 Service Creating user agent cache
         09/02/2017 14:43 Middleware::Response Invalid time
         09/02/2017 14:43 Middleware::Response Module is disabled on the host
         09/02/2017 14:43 Middleware::Response Module is disabled globally on the FOG server
         09/02/2017 14:43 Service Initializing modules
        
        ------------------------------------------------------------------------------
        ---------------------------------ClientUpdater--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:43 Client-Info Client Version: 0.11.9
         09/02/2017 14:43 Client-Info Client OS:      Windows
         09/02/2017 14:43 Client-Info Server Version: 1.3.4
         09/02/2017 14:43 Middleware::Response Success
        ------------------------------------------------------------------------------
        
        
        ------------------------------------------------------------------------------
        ----------------------------------TaskReboot----------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:43 Client-Info Client Version: 0.11.9
         09/02/2017 14:43 Client-Info Client OS:      Windows
         09/02/2017 14:43 Client-Info Server Version: 1.3.4
         09/02/2017 14:43 Middleware::Response Success
        ------------------------------------------------------------------------------
        
        
        ------------------------------------------------------------------------------
        --------------------------------HostnameChanger-------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:43 Client-Info Client Version: 0.11.9
         09/02/2017 14:43 Client-Info Client OS:      Windows
         09/02/2017 14:43 Client-Info Server Version: 1.3.4
         09/02/2017 14:43 Middleware::Response Success
         09/02/2017 14:43 HostnameChanger Checking Product Key Activation
         09/02/2017 14:43 HostnameChanger Windows has correct key but is not licensed
         09/02/2017 14:43 WinActivation Installing Product key
         09/02/2017 14:43 HostnameChanger Checking Hostname
         09/02/2017 14:43 HostnameChanger Hostname is correct
        ------------------------------------------------------------------------------
        
        
        ------------------------------------------------------------------------------
        ---------------------------------SnapinClient---------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:43 Client-Info Client Version: 0.11.9
         09/02/2017 14:43 Client-Info Client OS:      Windows
         09/02/2017 14:43 Client-Info Server Version: 1.3.4
         09/02/2017 14:43 Middleware::Response Success
         09/02/2017 14:43 SnapinClient Snapin Found:
         09/02/2017 14:43 SnapinClient     ID: 5756
         09/02/2017 14:43 SnapinClient     Name: test_arnaud3
         09/02/2017 14:43 SnapinClient     Created: 2017-02-09 13:24:25
         09/02/2017 14:43 SnapinClient     Action: 
         09/02/2017 14:43 SnapinClient     Pack: False
         09/02/2017 14:43 SnapinClient     Hide: False
         09/02/2017 14:43 SnapinClient     Server: 
         09/02/2017 14:43 SnapinClient     TimeOut: 0
         09/02/2017 14:43 SnapinClient     RunWith: powershell.exe
         09/02/2017 14:43 SnapinClient     RunWithArgs: -ExecutionPolicy allsigned -File
         09/02/2017 14:43 SnapinClient     Args: -programme "P:\packages\audio video\vlc\inst_vlc.bat"
         09/02/2017 14:43 SnapinClient     File: fog_inst_office2010.ps1
         09/02/2017 14:43 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/service/snapins.file.php?mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=5756
         09/02/2017 14:43 SnapinClient C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1
         09/02/2017 14:43 Bus {
          "self": true,
          "channel": "Notification",
          "data": "{\r\n  \"title\": \"Installation de test_arnaud3\",\r\n  \"message\": \"Ne pas éteindre l'ordinateur tant que la tâche n'est pas terminée\"\r\n}"
        }
         09/02/2017 14:43 Bus Emmiting message on channel: Notification
         09/02/2017 14:43 SnapinClient Starting snapin...
         09/02/2017 14:51 Main Overriding exception handling
         09/02/2017 14:51 Main Bootstrapping Zazzles
         09/02/2017 14:51 Controller Initialize
         09/02/2017 14:51 Zazzles Creating main thread
         09/02/2017 14:51 Zazzles Service construction complete
         09/02/2017 14:51 Controller Start
        
         09/02/2017 14:51 Service Starting service
         09/02/2017 14:51 Bus Became bus server
         09/02/2017 14:51 Bus {
          "self": true,
          "channel": "Status",
          "data": "{\r\n  \"action\": \"load\"\r\n}"
        }
         09/02/2017 14:51 Bus Emmiting message on channel: Status
         09/02/2017 14:51 Service Invoking early JIT compilation on needed binaries
        
        ------------------------------------------------------------------------------
        --------------------------------Authentication--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:51 Client-Info Version: 0.11.9
         09/02/2017 14:51 Client-Info OS:      Windows
         09/02/2017 14:51 Middleware::Authentication Waiting for authentication timeout to pass
         09/02/2017 14:51 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/management/other/ssl/srvpublic.crt
         09/02/2017 14:51 Data::RSA FOG Server CA cert found
         09/02/2017 14:51 Middleware::Authentication Cert OK
         09/02/2017 14:51 Middleware::Communication POST URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&authorize&newService
         09/02/2017 14:51 Middleware::Response Success
         09/02/2017 14:51 Middleware::Authentication Authenticated
        
        
         09/02/2017 14:51 Bus Registering ParseBus in channel Power
         09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&configure&newService&json
         09/02/2017 14:51 Middleware::Response Success
         09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/management/index.php?sub=requestClientInfo&mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService&json
         09/02/2017 14:51 Middleware::Response Success
         09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?clientver&newService&json
         09/02/2017 14:51 Middleware::Communication URL: http://cosinus.istic.univ-rennes1.fr/fog/service/getversion.php?newService&json
        
         09/02/2017 14:51 Service Creating user agent cache
         09/02/2017 14:51 Middleware::Response Invalid time
         09/02/2017 14:51 Middleware::Response Module is disabled on the host
         09/02/2017 14:51 Middleware::Response Module is disabled globally on the FOG server
         09/02/2017 14:51 Service Initializing modules
        
        ------------------------------------------------------------------------------
        ---------------------------------ClientUpdater--------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:51 Client-Info Client Version: 0.11.9
         09/02/2017 14:51 Client-Info Client OS:      Windows
         09/02/2017 14:51 Client-Info Server Version: 1.3.4
         09/02/2017 14:51 Middleware::Response Success
        ------------------------------------------------------------------------------
        
        
        ------------------------------------------------------------------------------
        ----------------------------------TaskReboot----------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:51 Client-Info Client Version: 0.11.9
         09/02/2017 14:51 Client-Info Client OS:      Windows
         09/02/2017 14:51 Client-Info Server Version: 1.3.4
         09/02/2017 14:51 Middleware::Response Success
        ------------------------------------------------------------------------------
        
        
        ------------------------------------------------------------------------------
        --------------------------------HostnameChanger-------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:51 Client-Info Client Version: 0.11.9
         09/02/2017 14:51 Client-Info Client OS:      Windows
         09/02/2017 14:51 Client-Info Server Version: 1.3.4
         09/02/2017 14:51 Middleware::Response Success
         09/02/2017 14:51 HostnameChanger Checking Product Key Activation
         09/02/2017 14:51 HostnameChanger Already activated with correct key
         09/02/2017 14:51 HostnameChanger Checking Hostname
         09/02/2017 14:51 HostnameChanger Hostname is correct
        ------------------------------------------------------------------------------
        
        
        ------------------------------------------------------------------------------
        ---------------------------------SnapinClient---------------------------------
        ------------------------------------------------------------------------------
         09/02/2017 14:51 Client-Info Client Version: 0.11.9
         09/02/2017 14:51 Client-Info Client OS:      Windows
         09/02/2017 14:51 Client-Info Server Version: 1.3.4
         09/02/2017 14:51 Middleware::Response Success
         09/02/2017 14:51 SnapinClient Snapin Found:
         09/02/2017 14:51 SnapinClient     ID: 5756
         09/02/2017 14:51 SnapinClient     Name: test_arnaud3
         09/02/2017 14:51 SnapinClient     Created: 2017-02-09 13:24:25
         09/02/2017 14:51 SnapinClient     Action: 
         09/02/2017 14:51 SnapinClient     Pack: False
         09/02/2017 14:51 SnapinClient     Hide: False
         09/02/2017 14:51 SnapinClient     Server: 
         09/02/2017 14:51 SnapinClient     TimeOut: 0
         09/02/2017 14:51 SnapinClient     RunWith: powershell.exe
         09/02/2017 14:51 SnapinClient     RunWithArgs: -ExecutionPolicy allsigned -File
         09/02/2017 14:51 SnapinClient     Args: -programme "P:\packages\audio video\vlc\inst_vlc.bat"
         09/02/2017 14:51 SnapinClient     File: fog_inst_office2010.ps1
         09/02/2017 14:51 Middleware::Communication Download: http://cosinus.istic.univ-rennes1.fr/fog/service/snapins.file.php?mac=52:54:00:CE:A1:DD||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&taskid=5756
         09/02/2017 14:51 SnapinClient C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1
         09/02/2017 14:51 Bus {
          "self": true,
          "channel": "Notification",
          "data": "{\r\n  \"title\": \"Installation de test_arnaud3\",\r\n  \"message\": \"Ne pas éteindre l'ordinateur tant que la tâche n'est pas terminée\"\r\n}"
        }
         09/02/2017 14:51 Bus Emmiting message on channel: Notification
         09/02/2017 14:51 SnapinClient Starting snapin...
        

        Fog Version: Fog 1.5.10
        Server OS: AlmaLinux release 8.8

        1 Reply Last reply Reply Quote 0
        • L
          lebrun78 @Tom Elliott
          last edited by Feb 9, 2017, 1:57 PM

          @Tom-Elliott
          Why have you written twice “-ExecutionPolicy allsigned”

          Fog Version: Fog 1.5.10
          Server OS: AlmaLinux release 8.8

          1 Reply Last reply Reply Quote 0
          • L
            lebrun78 @Tom Elliott
            last edited by lebrun78 Feb 9, 2017, 8:11 AM Feb 9, 2017, 2:10 PM

            @Tom-Elliott said in snappin doesn't work:

            powershell -ExecutionPolicy allsigned -File “C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1” -programme “P:\packages\audio video\vlc\inst_vlc.bat”

            On the machine, when I run this command , it runs, fog_inst_office2010.ps1 is download and placed in “C:\Program Files (x86)\FOG\tmp” by fog snap in install

            Fog Version: Fog 1.5.10
            Server OS: AlmaLinux release 8.8

            1 Reply Last reply Reply Quote 0
            • Z
              Zaarin
              last edited by Zaarin Feb 9, 2017, 8:30 AM Feb 9, 2017, 2:30 PM

              This line works, correct:

              powershell -ExecutionPolicy allsigned -File “C:\Program Files (x86)\FOG\tmp\fog_inst_office2010.ps1” -programme “P:\packages\audio video\vlc\inst_vlc.bat”

              Not this one:

              powershell -ExecutionPolicy allsigned -File “fog_inst_office2010.ps1” -programme “P:\packages\audio video\vlc\inst_vlc.bat”

              Because powershell is executed from another folder.

              The question is: which version is run by the snapin?

              An easy workaround is to compile ps1 into an exe.

              L 1 Reply Last reply Feb 9, 2017, 2:32 PM Reply Quote 1
              • L
                lebrun78 @Zaarin
                last edited by Feb 9, 2017, 2:32 PM

                @Zaarin
                Fog client is running in his folder, isn’t it ?

                Fog Version: Fog 1.5.10
                Server OS: AlmaLinux release 8.8

                Z W 2 Replies Last reply Feb 9, 2017, 2:41 PM Reply Quote 0
                • Z
                  Zaarin @lebrun78
                  last edited by Feb 9, 2017, 2:41 PM

                  @lebrun78
                  Powershell has it’s own environment and for this reason, I compiled ps1 to exe to avoid path problem for an old project.

                  My script just updated the background on the Windows 7 lock screen.

                  Sorry.

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman @lebrun78
                    last edited by Wayne Workman Feb 10, 2017, 12:20 AM Feb 10, 2017, 6:19 AM

                    @lebrun78 There is a Powershell template. Pick the template, upload the powershell file. That’s all you have to do when creating a snapin.

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    L 1 Reply Last reply Feb 10, 2017, 7:17 AM Reply Quote 0
                    • L
                      lebrun78 @Wayne Workman
                      last edited by Feb 10, 2017, 7:17 AM

                      @Wayne-Workman
                      that’s what I did, I think ?
                      alt text

                      Fog Version: Fog 1.5.10
                      Server OS: AlmaLinux release 8.8

                      1 Reply Last reply Reply Quote 0
                      • L
                        lebrun78
                        last edited by Feb 10, 2017, 1:04 PM

                        could I make log more verbose ?

                        Fog Version: Fog 1.5.10
                        Server OS: AlmaLinux release 8.8

                        T 1 Reply Last reply Feb 10, 2017, 1:08 PM Reply Quote 0
                        • T
                          Tom Elliott @lebrun78
                          last edited by Feb 10, 2017, 1:08 PM

                          @lebrun78 It’s not verbosity that will get you an answer.

                          Can you actually upload the ps1 script here? From what I can see your client is restarting after a period of time.

                          It get’s the point of displaying the Snapin, the client appears to restart, then it get’s back to the same point and ends on “Snapin starting”.

                          This leads me to think there’s something in the snapin causing issues. Maybe from the PS1 script?

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          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

                          L 1 Reply Last reply Feb 10, 2017, 1:17 PM Reply Quote 0
                          • L
                            lebrun78 @Tom Elliott
                            last edited by Feb 10, 2017, 1:17 PM

                            @Tom-Elliott
                            I manually restart it while the task is still marked as running

                            Fog Version: Fog 1.5.10
                            Server OS: AlmaLinux release 8.8

                            T L 2 Replies Last reply Feb 10, 2017, 1:18 PM Reply Quote 0
                            • T
                              Tom Elliott @lebrun78
                              last edited by Feb 10, 2017, 1:18 PM

                              @lebrun78 Well, if it’s “installing MS Office, as the file kind of suggests” I’m guessing the PS1 has to either download the installer files and/or start the installer files across a network share. Are you setting the installation in a “silent” mode? Does running it manually on the command line cause you to do user inputs or not?

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              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

                              L 1 Reply Last reply Feb 10, 2017, 1:23 PM Reply Quote 0
                              • L
                                lebrun78 @lebrun78
                                last edited by Feb 10, 2017, 1:19 PM

                                Should it be a path problem ? Should fog client install the script from c:\program file x86\fog\tmp ?

                                Fog Version: Fog 1.5.10
                                Server OS: AlmaLinux release 8.8

                                1 Reply Last reply Reply Quote 0
                                • L
                                  lebrun78 @Tom Elliott
                                  last edited by Feb 10, 2017, 1:23 PM

                                  @Tom-Elliott
                                  No because it was not working with office2010, I try it with a script to install videolan player which is very lighter

                                  Fog Version: Fog 1.5.10
                                  Server OS: AlmaLinux release 8.8

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    Tom Elliott
                                    last edited by Feb 10, 2017, 1:30 PM

                                    So what is the point of the fog_instoffice2010.ps1 file?

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    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
                                    • L
                                      lebrun78
                                      last edited by Feb 10, 2017, 1:33 PM

                                      fog_inst_office2010.ps1 is a script to mount p: with authentication and call a bat script

                                      Fog Version: Fog 1.5.10
                                      Server OS: AlmaLinux release 8.8

                                      L 1 Reply Last reply Feb 10, 2017, 4:11 PM Reply Quote 0
                                      • L
                                        lebrun78 @lebrun78
                                        last edited by lebrun78 Feb 10, 2017, 10:14 AM Feb 10, 2017, 4:11 PM

                                        here is this extract of windows powershell log in windows events viewer
                                        1st run by snap in:
                                        alt text

                                        2nd by manual command line that works:
                                        alt text

                                        I don’t understand !

                                        Witch trigger mark snapin task ended in web console ?

                                        Fog Version: Fog 1.5.10
                                        Server OS: AlmaLinux release 8.8

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          Joe Schmitt Senior Developer
                                          last edited by Feb 10, 2017, 5:11 PM

                                          @lebrun78 snapins run as SYSTEM (this is like a limited root on unix). If a script works when run manually but not as a snapin, then your script is not SYSTEM compliant. Usually its an issue when someone tries to use network shares, which it appears you are doing. SYSTEM is an non domain user, so if your network share requires someone to be domained user to access it, that’s one potential issue. Ultimately this is a network share issue, and without see exactly how you are mounting / using it, we cannot help.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          L 1 Reply Last reply Feb 20, 2017, 11:05 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            18/39
                                            Last post

                                          142

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project