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

    Rev 5020 upgrade error

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    7
    2.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.
    • cmlC
      cml Moderator
      last edited by

      Ran into an issue upgrading today:

       * Backing up old data.........................................OK
       * Copying back old web folder as is...........................cp: cannot stat ‘/home//fog_web_5020.BACKUP/*’: No such file or directory
      Failed!
      

      Running ./install -B /root gives:

       * Backing up old data.........................................OK
       * Copying back old web folder as is...........................cp: cannot stat ‘/root/fog_web_5020.BACKUP/*’: No such file or directory
      Failed!
      
      root@FOG:~# ls /root/fog_web_5020.BACKUP/
      root@FOG:~# ls /root/
      001-fog.conf  fog_web_5020.BACKUP
      
      1 Reply Last reply Reply Quote 0
      • P
        pixomondo
        last edited by

        Same problem here. The folder exists but no content and install won’t continue.
        I am not upgrading though, it’s a new install on a new server. Centos 6.7.

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          I am using Fedora 21 Server at home and have just upgraded to the latest. I’m not seeing this problem.

          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/

          1 Reply Last reply Reply Quote 0
          • P
            pixomondo
            last edited by

            The latest stable build does not seem to be affected. Only Rev 5020 from the SVN repo showed this behavior.

            1 Reply Last reply Reply Quote 0
            • cmlC
              cml Moderator
              last edited by

              Strange, I’m still having the same issue on 5044, this is on Debian 8.2

               * Copying back old web folder as is...........................cp: cannot stat ‘/root/fog_web_5044.BACKUP/*’: No such file or directory
              Failed!
              root@NOSMFOG:/opt/fog-grub/bin# ls /root
              001-fog.conf  fog_web_5044.BACKUP
              root@FOG:/opt/fog-grub/bin# ls /root/fog_web_5044.BACKUP/
              root@FOG:/opt/fog-grub/bin#
              
              root@FOG:/opt/fog-grub/bin# cat ../packages/web/lib/fog/System.class.php
              <?php
              class System {
                  public function __construct() {
                      define('FOG_VERSION', '5044');
              
              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                I’ve added code to check for the presence of the folder before trying to copy it back. I’m hoping this can be solved but I have not tested it myself yet. Not that I couldn’t but I was pretty busy chasing a cpu eating bug. I am hoping the bomb I had to layout for it is finally done, but I don’t feel like starting fresh on this just to test.

                Hopefully you all understand.

                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
                • cmlC
                  cml Moderator
                  last edited by

                  Looks to be solved, thanks Tom!

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

                  159

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project