Rev 5020 upgrade error


  • Moderator

    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
    

  • Moderator

    Looks to be solved, thanks Tom!


  • Senior Developer

    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.


  • Moderator

    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');
    


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


  • Moderator

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



  • 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.


Log in to reply
 

401
Online

39.3k
Users

11.0k
Topics

104.5k
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.