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

    Svn upgrade failed.

    Scheduled Pinned Locked Moved
    FOG Problems
    4
    30
    8.3k
    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.
    • W
      Wolfbane8653 Developer
      last edited by

      You got your numbers mixed up.

      1. is blank and is very important…run mysql -u root -p cbefog fog
      2. Should be the terminal output
      3. should be a browser screen shot
      4. should be your dropbox link
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Now that I have a better understanding of what possibly is happening.

        How are you updating this?

        Are you just going to the originally installed svn folder and re-running the installfog.sh file?

        I ask this because the folder you downloaded when you first installed to SVN does not automatically update.

        The process should be (lets assume your svn folder is currently located in the location /opt/fogsvn)
        [code]sudo su -
        cd /opt/fogsvn
        svn up
        cd bin
        ./installfog.sh[/code]

        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
        • I
          irishfoguser
          last edited by

          been snowed under with other work, hope to get back to looking at this today.

          ill relook at the questions list again.

          1 Reply Last reply Reply Quote 0
          • I
            irishfoguser
            last edited by

            [quote=“Wolfbane8653, post: 40602, member: 3362”]
            [LIST=1]
            []When fog installed did you use a password for the database?
            [
            ]Can you login to the database using username root? --> mysql -u root fog
            []If yes to question 1, can you login to the database using --> mysql -u root -p <password you entered> fog
            [
            ]Do you have any errors in your mysql log?
            []Are there any errors on your screen when trying to login to the database?
            [
            ]What does show up when you go to your fog server URL? (picture required)
            [*]Can you give use your apache error log file? (file upload required)
            [/LIST]
            Pictures and/or video work wonders![/quote]

            1. cbefog
            2. NO, ERROR 1045 (28000): Access denied for user ‘root’@‘localhost’ (using password: NO)
            3. log in dropbox link
            4. log in dropxbox link
            5. No everything works fine
            6. see dropbox link
            7. see dropbox link
              [url]https://www.dropbox.com/sh/28lsxa5p6o9jq0q/AAC81thnbPn2MrF2xhxVFUsea?dl=0[/url]
            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              The code to sign into mysql should be:

              [code]mysql -u root -p’cpefog’ fog[/code]

              It should bring you to a prompt that looks like:
              [code]mysql>[/code]

              If you get there, it means you’re logging into the Database fine.

              For #5 (Are there any errors on your screen when trying to login to the database?), it still sounds, to me, like you’re not running the updater and are still at 2580. The SVN folder doesn’t automatically update to the latest or later revisions, you have to perform work.

              For example, if your original SVN download folder was located in /opt/fog_trunk by running command:

              [code]svn co https://svn.code.sf.net/p/freeghost/code/trunk /opt/fog_trunk[/code]

              To update you would perform:
              [code]cd /opt/fog_trunk
              svn update
              cd bin
              sudo ./installfog.sh[/code]

              This would then perform the upgrade. As you state you’re able to to login and no database schema is being presented to you, it sounds, to me, like you’re not actually updated. SVN does not update automatically for you.

              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
              • I
                irishfoguser
                last edited by

                [quote=“Tom Elliott, post: 41001, member: 7271”]The code to sign into mysql should be:

                [code]mysql -u root -p’cpefog’ fog[/code]

                It should bring you to a prompt that looks like:
                [code]mysql>[/code]

                If you get there, it means you’re logging into the Database fine.

                For #5 (Are there any errors on your screen when trying to login to the database?), it still sounds, to me, like you’re not running the updater and are still at 2580. The SVN folder doesn’t automatically update to the latest or later revisions, you have to perform work.

                For example, if your original SVN download folder was located in /opt/fog_trunk by running command:

                [code]svn co https://svn.code.sf.net/p/freeghost/code/trunk /opt/fog_trunk[/code]

                To update you would perform:
                [code]cd /opt/fog_trunk
                svn update
                cd bin
                sudo ./installfog.sh[/code]

                This would then perform the upgrade. As you state you’re able to to login and no database schema is being presented to you, it sounds, to me, like you’re not actually updated. SVN does not update automatically for you.[/quote]

                sorry that command works fine i get the mssql prompt fine.

                i been using this commands which i found on the wiki

                cd ~
                mkdir svn
                cd svn
                svn checkout [url]https://svn.code.sf.net/p/freeghost/code/trunk[/url]

                [SIZE=4][B]Install It![/B][/SIZE]

                cd ~/svn/trunk/bin
                ./installfog.sh

                running your commands i get

                root@MaynoothFogServer:~/svn/trunk/bin# cd ~/svn/trunk/bin
                root@MaynoothFogServer:~/svn/trunk/bin# svn up
                At revision 2914.
                root@MaynoothFogServer:~/svn/trunk/bin#

                1 Reply Last reply Reply Quote 0
                • I
                  irishfoguser
                  last edited by

                  mysql prompt line

                  mysql>

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    You cannot be in bin to perform the update.

                    You have to be one level down:

                    so [code]root@MaynoothFogServer:~/svn/trunk/bin# cd ~/svn/trunk/bin[/code] should be:
                    [code]root@MaynoothFogServer:~/svn/trunk/bin# cd ~/svn/trunk; svn up; cd bin[/code]

                    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
                    • I
                      irishfoguser
                      last edited by

                      😄

                      Finally!!

                      Thanks to TOM and everyone else on here who helped me out.

                      I wont be touching it again for a while.

                      Why cant be I be in bin directory while running svn?

                      1 Reply Last reply Reply Quote 0
                      • JunkhackerJ
                        Junkhacker Developer
                        last edited by

                        Finally!!

                        Thanks to TOM and everyone else on here who helped me out.

                        I wont be touching it again for a while.

                        Why cant be I be in bin directory while running svn?[/quote]
                        because it’s only updating the files in the bin directory if you’re in the bin directory when you run the update, which is 2 files

                        signature:
                        Junkhacker
                        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                        209

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project