• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. jmeyer
    3. Posts
    J
    • Profile
    • Following 0
    • Followers 1
    • Topics 56
    • Posts 286
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Remove Legacy client and replace with latest new client?

      @robza said:

      wmic product where “name = ‘FOG Service’” call uninstall /nointeractive

      I tested twice and it removes the new client even after I checked that name was “FOGService” without space.

      C:\Users\administrateur>wmic product where "name = 'FOG Service'" call uninstall
      
      Exécution (\\MANAGEMENT7\ROOT\CIMV2:Win32_Product.IdentifyingNumber="{FA5F2860-A
      80B-46B9-9EF9-8228C3E9A663}",Name="FOG Service",Version="0.9.9")->Uninstall()
      Méthode exécutée.
      Paramètres de sortie :
      instance of __PARAMETERS
      {
              ReturnValue = 0;
      };
      
      posted in FOG Problems
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @Wayne-Workman Wasn’t in same high school. I didn’t create new DNS entry yet. I changed just to test the script. I’ll set fog-server right now ! lol
      I just tested my script after installing old client and all look to work.

      I just installed the msi stored on windows and it’s smaller than the one in SVN but has the same version… Exactly 3ko less…
      Who the hell repack the client and don’t change the version ? 😠

      Here is the one I had : 0_1450198784192_FOG Service Installer Old.msi 784 ko

      Anyway, script works fine using “IdentifyingNumber”.

      @Kiweegie I only had this when old client wasn’t removed.

      posted in FOG Problems
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @Wayne-Workman I’ll work a bit more on the script.
      edit :

      IF %PROCESSOR_ARCHITECTURE%==AMD64 set programpath=%programfiles(x86)%
      IF %PROCESSOR_ARCHITECTURE%==x86 set programpath=%programfiles%
      IF EXIST "%programpath%\FOG\fog.ca.cer" GOTO END
      set FogServerIP=fogserver
      set GetID=wmic product where "Version like '3.0.29' and name like 'FOG Service'" get IdentifyingNumber
      for /F "skip=1 delims=" %%i in ('%GetID%') do if not defined ID set "ID=%%i"
      IF "%ID%" NEQ "" start /wait msiexec /x %ID% /q
      start /wait bitsadmin /transfer FOGService /download /priority normal http://%FogServerIP%/fog/client/FOGService.msi %temp%\FOGService.msi
      start /wait msiexec /i %temp%\FOGService.msi /quiet WEBADDRESS="%FogServerIP%"
      :END
      

      This should works but I don’t know wwhy my download end in queue when there is nothing else to do and I can’t install client silently… I love computers…

      posted in FOG Problems
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @Wayne-Workman I don’t know the use of “setlocal”. I did my best keeping it since script wasn’t working at all without but I start to think it’s messing somewhere.
      Maybe the “start /wait” is ignored because of this ?
      I haven’t test it via GPO since my simple one made before was working fine but had to put all msi with it.

      posted in FOG Problems
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @Wayne-Workman Downloading the client from server wasn’t something I have think about. Nice one.
      It’s not “fog.ca.cer” that we should look for instead of “fog.ca” ?
      I don’t think to have %ProgramFiles(x86)% under my 32 bits OS ! 😛

      I go lunch and I’ll look at this part this afternoon if you don’t do it before me. 😉

      edit :

      IF %PROCESSOR_ARCHITECTURE%==amd64 SET programpath=Program Files ^(x86^)
      IF %PROCESSOR_ARCHITECTURE%==x86 SET programpath=Program Files
      IF NOT EXIST "%systemdrive%\%programpath%\FOG\fog.ca.cer" (
      set FogServerIP=fog-server
      set GetID=wmic product where "Version like '3.0.29' and name like 'FOG Service'" get IdentifyingNumber
      for /F "skip=1 delims=" %%i in ('%GetID%') do if not defined ID set "ID=%%i"
      setlocal
      IF "%ID%" NEQ "" start /wait msiexec /x %ID% /q
      start /wait bitsadmin /transfer FOGService /download /priority normal http://%FogServerIP%/fog/client/FOGService.msi %temp%\FOGService.msi
      start /wait msiexec /i %temp%\FOGService.msi /quiet WEBADDRESS="%FogServerIP%"
      endlocal
      )
      

      “set” doesn’t look to work when put after “setlocal” for me so I have moved it upper…
      How are you sure that old client is version 3.0.29 ?

      posted in FOG Problems
      J
      jmeyer
    • RE: Migrate PM to VM 1.2.0

      If you don’t have too much images, here is how I do :

      1. install your new server with different IP (old server will still be usable and never think you won’t need to deploy. I did once… 15 computers needed it…)
      2. then there is 2 way for images :
      • Mount the directory on new server
      mkdir <directoryname>
      sudo mount -t nfs -o rw <OldFogServerIP>:/images /home/<youruser>/<directoryname>/
      cp -r <directoryname>/ Images/
      

      OR

      • REPLICATION !!!

      Add new server storage in same group as the storage of the old storage under old GUI.
      Don’t set new storage as MASTER or… you are dead ! lol
      Check logs : /opt/fog/log/fogreplicator.log ou in GUI http://fogserver/fog/management/index.php?node=about&sub=log then “Image Replicator”.

      (OR… the most simple, use Winscp ! lol)

      For the host :
      Export from old server : Report Management -> Host List -> Format CSV
      Edit the file to have : “MAC Address (ie: 00:11:22:33:44:55) *”,“Hostname *”,“IP Address”,“Description”,“Image ID”

      *These two things can be enough

      Don’t leave this line in it.

      Import in new FOG server : Host Management -> Import Hosts

      You will have to remake images on GUI (unless you play with SQL) but during copy, you can do it.

      posted in FOG Problems
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @Wayne-Workman I don’t know what change in old client but I wasn’t able to remove it using the msi of the “old client” freshly downloaded from GUI.
      I had to use the .msi stored by system.

      Is there edit made in the last “old client” ?

      posted in FOG Problems
      J
      jmeyer
    • RE: FOG 2.0 request: Advanced host naming

      @george1421 Room number (or room name) is most of time in group. That was my point. If you ask group before name (I know it’s stupid), you will be able to find out name I need using concatenation of the group name and a split on other computer in group taking the max of “name” less “group”.

      New Host Name = Group Name + (max (Group Name removed from the list of other computer in group))

      I don’t know if you understand me… lol
      Something like this if name is “create” during registration.
      Other way is just rename every host in group during registration base on registration date. Oldest get the lowest number.

      I think we both like geeking ! lol

      posted in Feature Request
      J
      jmeyer
    • RE: Remove Legacy client and replace with latest new client?

      @george1421

      I just made a .bat with this inside and it looks to work fine.

      @echo off
      msiexec /qn /x "FOG Service Installer.msi"
      msiexec /qn /i "FOGService.msi"
      

      Thank you.

      posted in FOG Problems
      J
      jmeyer
    • RE: FOG 2.0 request: Advanced host naming

      Reading this topic title made me think of something.
      Could it be possible to auto set name from selected group as default name if name is set to empty.

      For exemple, we add a computer to group named “Laptop” and it end name “Laptop01”.
      If “Laptop03” exist, automatically named “Laptop04”.

      Maybe a page with “personalised fast registration” options and a new line on PXE menu could be what we need.
      We could select what would be asked and what should be set automaticaly.
      Default image, default naming, default group, default storage.

      We name our computer “RoomNumber-ComputerNumber”. (Ex : 007-01 or Lavoisier-01)
      Best automaticaly naming would be “Location/Storage-GroupName-Number”.

      posted in Feature Request
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 Was this !! But needed a reboot after.

      Thank you very much to all of you. 😄

      posted in FOG Problems
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 Just found proxy in ~/.bashrc
      I run install again.

      posted in FOG Problems
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 said:

      apt-get install wget

      Nothing to install or update.

      posted in FOG Problems
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 Ubuntu Server 14.04 LTS and I just downloaded the last SVN version perfectly. I want to update rev 4730.

      posted in FOG Problems
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @Wayne-Workman It has full web acces on new firewall.

      posted in FOG Problems
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 It just say that it need repository to work.

      posted in FOG Problems
      J
      jmeyer
    • RE: (SVN) Adding needed repository... Failed!

      @george1421 We removed proxy but I had to set the previous one a bit everywhere.
      I have unset http_proxy, check bashrc.

      posted in FOG Problems
      J
      jmeyer
    • (SVN) Adding needed repository... Failed!

      Hello,

      I keep having the “* Adding needed repository…Failed!” error.

      I have check everything I changed about proxy since we upgraded our system but I must miss something somewhere.

      What does the script use to do this ? Maybe I set proxy for this before and forgot to update it ?
      Where can I find log about this “failure” ?

      Thank you.

      posted in FOG Problems
      J
      jmeyer
    • RE: FOG 2.0 request - Selective inventory hardware export

      @Wayne-Workman Make it in reports with column choice will be the next step ! lol
      Result looks already great and nearly enough for my needs ! 😉

      posted in Feature Request
      J
      jmeyer
    • FOG 2.0 request - Selective inventory hardware export

      Hello,

      could it be possible to export partial inventory of the hardware such as only :

      Name, OS, System Manufacturer , System Product, System Version, System Serial Number, System Type, BIOS Date, Location.

      We use Spiceworks for this but detection is random on some computers.
      As we use FOG on nearly all the computers, it would avoid getting twice the hardware.

      posted in Feature Request
      J
      jmeyer
    • 1
    • 2
    • 6
    • 7
    • 8
    • 9
    • 10
    • 14
    • 15
    • 8 / 15