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

Hostname Changer failed

Scheduled Pinned Locked Moved Solved
FOG Problems
3
28
5.7k
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.
  • P
    plegrand
    last edited by Feb 13, 2017, 3:38 PM

    I cant upgrade.
    i’m stuck at
    Running Version 1.3.4
    SVN Revision: 6066

    And when i try to upgrade here is the result :

    cd /home/svn/trunk
    [root@Fog] /home/svn/trunk # svn up
    Mise à jour de ‘.’ :
    À la révision 6065.

    T 1 Reply Last reply Feb 13, 2017, 3:40 PM Reply Quote 0
    • T
      Tom Elliott @plegrand
      last edited by Feb 13, 2017, 3:40 PM

      @plegrand Update using GIT.

      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

      P 1 Reply Last reply Feb 13, 2017, 3:41 PM Reply Quote 0
      • P
        plegrand @Tom Elliott
        last edited by Feb 13, 2017, 3:41 PM

        @Tom-Elliott
        how you do that
        i used to use svn and i dont how to use git

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 13, 2017, 3:41 PM

          https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

          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

          P 1 Reply Last reply Feb 13, 2017, 3:43 PM Reply Quote 0
          • P
            plegrand @Tom Elliott
            last edited by Feb 13, 2017, 3:43 PM

            @Tom-Elliott

            cd /home/svn/trunk
            git checkout dev-branch
            git pull
            cd bin
            ./installfog.sh
            ???

            and now i have to use only git ?

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 13, 2017, 3:44 PM

              Dude,

              I can’t tell you everything all the time. (Sorry if this sounds rude.)

              If you’re already running GIT, then you will need to clone the repo. The instructions in the link I sent you will show you what to do.

              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

              P 1 Reply Last reply Feb 13, 2017, 3:46 PM Reply Quote 0
              • T
                Tom Elliott
                last edited by Feb 13, 2017, 3:45 PM

                Initial checkout and installation

                sudo -i
                git clone https://github.com/FOGProject/fogproject.git /root/fogproject
                cd /root/fogproject
                git checkout dev-branch
                cd bin
                ./installfog.sh
                

                If you want to keep it in the “svn” directory:

                sudo -i
                git clone https://github.com/FOGProject/fogproject.git /home/svn/fogproject
                cd /home/svn/fogproject
                git checkout dev-branch
                cd bin
                ./installfog.sh

                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
                • P
                  plegrand @Tom Elliott
                  last edited by Feb 13, 2017, 3:46 PM

                  @Tom-Elliott
                  i wasnt already running git. It’s new for me.
                  Before i used svn like that :

                  cd /home/svn/trunk
                  svn up
                  cd bin
                  ./installfog.sh 
                  
                  

                  Now you tell me to use git that i dont know.
                  my question is just : do i have to use git like that :

                  cd /home/svn/trunk
                  git checkout dev-branch
                  git pull
                  cd bin
                  ./installfog.sh
                  

                  Why i have to use git now ?

                  T 1 Reply Last reply Feb 13, 2017, 3:49 PM Reply Quote 0
                  • T
                    Tom Elliott @plegrand
                    last edited by Feb 13, 2017, 3:49 PM

                    @plegrand Using git is what we are moving to.

                    SVN will only be used for the 1.3.X series and in particular (after 1.3.0) will only be used for “official” releases.

                    GIT will also have the “official” releases under the master branch. dev-branch will be the RC’s, and working-X.X.X will be the “trunk” items if you will (bleeding edge).

                    Tracking things are much easier under git than they were under SVN which is part of why we’re moving to GIT to begin with. SVN had capabilities but was very difficult. GIT also allows users to fork the repository and make pull requests and patches themselves in a much more simple methodology than SVN.

                    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

                    P 1 Reply Last reply Feb 13, 2017, 3:49 PM Reply Quote 0
                    • P
                      plegrand @Tom Elliott
                      last edited by Feb 13, 2017, 3:49 PM

                      @Tom-Elliott
                      OK then now i have to only use git ?

                      Thanks

                      T 1 Reply Last reply Feb 13, 2017, 3:50 PM Reply Quote 0
                      • T
                        Tom Elliott @plegrand
                        last edited by Feb 13, 2017, 3:50 PM

                        @plegrand To install the RC’s yes.

                        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 1
                        • T
                          Tom Elliott
                          last edited by Feb 13, 2017, 3:50 PM

                          Also, it can be used for “official” releases as well so yes. A single point.

                          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

                          P 1 Reply Last reply Feb 13, 2017, 3:57 PM Reply Quote 1
                          • P
                            plegrand @Tom Elliott
                            last edited by Feb 13, 2017, 3:57 PM

                            @Tom-Elliott
                            last question … 😞

                            now, each time i want to upgrade i have to use this commands :

                            git clone https://github.com/FOGProject/fogproject.git /home/svn/fogproject
                            cd /home/svn/fogproject
                            git checkout dev-branch
                            cd bin
                            ./installfog.sh
                            

                            Thanks again for your help

                            T 1 Reply Last reply Feb 13, 2017, 3:58 PM Reply Quote 0
                            • T
                              Tom Elliott @plegrand
                              last edited by Feb 13, 2017, 3:58 PM

                              @plegrand That link already has all the information.

                              For initial pull you need the clone.

                              After that you do not need to continually clone or checkout.

                              When you need to update you would:

                              cd /home/svn/fogproject
                              git checkout dev-branch
                              git pull
                              cd bin
                              ./installfog.sh -y
                              

                              The -y will run the update without your input (no need to go to update db or anything.)

                              If you are already on the dev-branch, then you don’t need the git checkout dev-branch portion.

                              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

                              P 1 Reply Last reply Feb 13, 2017, 4:06 PM Reply Quote 0
                              • P
                                plegrand @Tom Elliott
                                last edited by Feb 13, 2017, 4:06 PM

                                @Tom-Elliott
                                Then i upgraded.
                                Mon Feb 13, 2017 17:06 pm
                                Running Version 1.3.5-RC-5
                                SVN Revision: 6066

                                But now i’ve got this error : {“error”:“null”}

                                1 Reply Last reply Reply Quote 0
                                • T
                                  Tom Elliott
                                  last edited by Feb 13, 2017, 4:08 PM

                                  Can you post the whole log?

                                  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

                                  P 1 Reply Last reply Feb 14, 2017, 7:04 AM Reply Quote 0
                                  • P
                                    plegrand @Tom Elliott
                                    last edited by plegrand Feb 14, 2017, 2:16 AM Feb 14, 2017, 7:04 AM

                                    @Tom-Elliott

                                    In fact, pc are well renamed but not put into samba domain

                                    14/02/2017 06:58 Bus Registering ParseBus in channel Power
                                    14/02/2017 06:58 Bus Became bus client
                                    14/02/2017 06:58 Bus Registering OnNotification in channel Notification
                                    14/02/2017 06:58 Bus Registering OnUpdate in channel Update
                                    
                                    ------------------------------------------------------------------------------
                                    ---------------------------------ClientUpdater--------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 ClientUpdater Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=clientupdater&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    
                                    ------------------------------------------------------------------------------
                                    ----------------------------------TaskReboot----------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 TaskReboot Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=taskreboot&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    
                                    ------------------------------------------------------------------------------
                                    --------------------------------HostnameChanger-------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 HostnameChanger Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=hostnamechanger&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    
                                    ------------------------------------------------------------------------------
                                    ---------------------------------SnapinClient---------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 SnapinClient Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=snapinclient&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    
                                    ------------------------------------------------------------------------------
                                    --------------------------------PrinterManager--------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 PrinterManager Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=printermanager&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    
                                    ------------------------------------------------------------------------------
                                    -----------------------------------GreenFOG-----------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 GreenFOG Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=greenfog&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    
                                    ------------------------------------------------------------------------------
                                    ----------------------------------UserTracker---------------------------------
                                    ------------------------------------------------------------------------------
                                    14/02/2017 06:59 Client-Info Version: 0.9.12
                                    14/02/2017 06:59 UserTracker Running...
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/service/servicemodule-active.php?moduleid=usertracker&mac=00:21:85:71:BD:8B||00:00:00:00:00:00:00:E0&newService=1
                                    14/02/2017 06:59 Middleware::Communication Unknown Response: {"error":"null"}
                                    ------------------------------------------------------------------------------
                                    
                                    14/02/2017 06:59 Middleware::Communication URL: http://192.168.39.243/fog/management/index.php?node=client&sub=configure&newService=1
                                    14/02/2017 06:59 Middleware::Communication Response: Success
                                    14/02/2017 06:59 Service Sleeping for 78 seconds
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      plegrand
                                      last edited by Feb 14, 2017, 10:03 AM

                                      The problem was the client version. (old version: 0.9.12)
                                      I had to install the new one on each computer (0.11.9), then reboot each computer.
                                      Then “reset encrypted data” on the group
                                      Now it works fine.
                                      I thought that once there was a new version on the server the client updated “alone”.

                                      Jaymes DriverJ 1 Reply Last reply Feb 14, 2017, 12:43 PM Reply Quote 2
                                      • Jaymes DriverJ
                                        Jaymes Driver Developer @plegrand
                                        last edited by Feb 14, 2017, 12:43 PM

                                        @plegrand Thank you for providing the solution that you have found, I am certain that someone else will benefit from this information!

                                        Glad you got it all sorted!

                                        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                                        P 1 Reply Last reply Feb 14, 2017, 1:28 PM Reply Quote 1
                                        • P
                                          plegrand @Jaymes Driver
                                          last edited by Feb 14, 2017, 1:28 PM

                                          @Jaymes-Driver
                                          Just for information, may be i should start an other thread but when i launch a deploy task for a group I’ve got this message :

                                          0_1487078884039_upload-3265a249-6035-480b-8287-91755a4e626c

                                          Note “Array”
                                          Is it normal ?

                                          Jaymes DriverJ 1 Reply Last reply Feb 14, 2017, 1:35 PM Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            12/28
                                            Last post

                                          196

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project