FOG Project

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

    Solved Upgrade stable 1.2.0 to trunk

    FOG Problems
    3
    14
    3987
    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.
    • R
      raumin last edited by

      Hello,

      i have a stable install in 1.2.0 and i would like to upgrade to trunk via GIT because i have some problems with Windows 10 imaging.

      Is there an easy way to do this ? i read that link https://wiki.fogproject.org/wiki/index.php/Upgrade_to_trunk but it’s only from fresh install.

      I have more than 300 PCs in the database, about 10 images into a NFS and some snapins

      I have already backup database, all the folders (/var/www/fog and /opt/fog). Do you have any tips/advices ?

      Thank you

      FOG trunk

      1 Reply Last reply Reply Quote 0
      • R
        raumin last edited by

        yep it’s ok.

        The problem was the nfs mount…via QNAP. FTP access was not right, it’s ok now.

        FOG trunk

        1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator @raumin last edited by

          @raumin https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_FTP

          The wiki may be able to help you.

          1 Reply Last reply Reply Quote 0
          • R
            raumin @Quazz last edited by

            @Quazz
            i have changed the rights, the password on TFTP is correct…the .fogsettings is not modified.

            i dont know where to look now 😞

            FOG trunk

            Q 1 Reply Last reply Reply Quote 0
            • Q
              Quazz Moderator @raumin last edited by Quazz

              @raumin It’s owned by root:root and A-rw-r-r permissions on my end.

              Make sure the password is also correct under FOG Settings on the WebGUI under TFTP server

              R 1 Reply Last reply Reply Quote 0
              • R
                raumin @Quazz last edited by

                @Quazz
                Ok, it seems the webgui cannot modify the /opt/fog/.fogsettings

                I removed this from the file:

                storageftpuser=''
                storageftppass=''
                

                And updated the webgui, these two lines are added but the user and pass is not written.
                I manually wrote the user and pass but it doesnt work too…

                .fogsettings is owned by fog:www-data and is 770. Is that correct ?

                FOG trunk

                Q 1 Reply Last reply Reply Quote 0
                • Q
                  Quazz Moderator @raumin last edited by

                  @raumin They should all have single quotes.

                  Enter the password on the storage node on the WebGUI again.

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    raumin last edited by

                    SOrry…i have a problem with the FTP, i can not deploy an image, i get this:

                    Failed to create deployment tasking for the following hosts
                    Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 104, Message: ftp_login(): Login incorrect.
                    

                    I try FTP on localhost, on my PC and i can connect, put files, get files etc.

                    The password is ok in .fogsetting but the simple quote or double quote is not clear for me, here the file:

                    ## Created by the FOG Installer
                    ## Version: 6523
                    ## Install time: Tue 20 Jan 2015 03:43:27 PM CET
                    
                    ipaddress="172.20.25.203";
                    interface="eth0";
                    routeraddress="         option routers      172.20.25.254;";
                    plainrouter="172.20.25.254";
                    dnsaddress="    option domain-name-servers      172.20.16.150; ";
                    dnsbootimage="172.20.16.150";
                    password="password";
                    osid="2";
                    osname="Debian";
                    dodhcp="n";
                    bldhcp="0";
                    installtype="N";
                    snmysqluser=""
                    snmysqlpass="password_mysql";
                    snmysqlhost="";
                    installlang="0";
                    donate="0";
                    fogupdateloaded="1"
                    submask=''
                    blexports='1'
                    storageLocation='/images'
                    storageftpuser="fog"
                    storageftppass="password"
                    docroot='/var/www/html/'
                    webroot='fog/'
                    caCreated='yes'
                    startrange=''
                    endrange=''
                    bootfilename='undionly.kpxe'
                    packages='apache2 php5 php5-json php5-gd php5-cli php5-curl mysql-server mysql-client tftpd-hpa tftp-hpa nfs-kernel-server vsftpd net-tools wget xinetd sysv-rc-conf tar
                    gzip build-essential cpp gcc g++ m4 htmldoc lftp openssh-server php5-mcrypt php5-mysqlnd curl libc6 libcurl3 zlib1g php5-fpm libapache2-mod-php5'
                    noTftpBuild=''
                    notpxedefaultfile=''
                    sslpath='/opt/fog/snapins/ssl/'
                    

                    When do we put simple quote? Double quote? And the “;”? Why he is not on all lines ?

                    Thank you

                    FOG trunk

                    Q 1 Reply Last reply Reply Quote 0
                    • R
                      raumin last edited by

                      Everything seems to be perfect ! There is just a problem with nf and vsftp (upgrading from debian 7 to debian 8 before FOG).

                      Thank you !

                      FOG trunk

                      1 Reply Last reply Reply Quote 1
                      • R
                        raumin last edited by

                        Oh ok thank you, i try.

                        I made a backup just to be sure 🙂

                        FOG trunk

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

                          @raumin You should not need to rename the old folders. The installer will do that if it finds “old stuff”.

                          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
                          • Q
                            Quazz Moderator @raumin last edited by

                            @raumin As far as I know FOG installer will rename old folders itself, so no need for that.

                            It will ask you for mysql password (if any) during the installation yes.

                            1 Reply Last reply Reply Quote 0
                            • R
                              raumin last edited by

                              ok thank you.
                              I forgot to tell you that FOG was installed with tar.gz file, so just to be sure:

                              • Backup everything
                              • Rename old folders
                              • start git sync, start ./installfog.sh and put credentials of the database?

                              FOG trunk

                              Q 1 Reply Last reply Reply Quote 0
                              • Q
                                Quazz Moderator last edited by

                                I’d backup the images as well just in case.

                                After that follow the guide you posted, it will upgrade you to trunk.

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

                                148
                                Online

                                10.2k
                                Users

                                16.3k
                                Topics

                                149.9k
                                Posts

                                Copyright © 2012-2020 FOG Project