FOG won't capture an image!



  • Server
    • FOG Version: 1.3.0-RC-14
    • OS: Ubuntu Linux 12.04
    Description

    Fog is not capturing image for a Dell Optiplex 3010 it tries to capture the image but crashes and reboots back into windows. On the image it says its got 0.90TB when there isnt even a drive in the computer this size

    Kind Regards

    Lawrence


  • Senior Developer

    @lawrence1997 Getting errors is not helpful to anyone. What kind of errors are you getting?

    I’m seeing, now, that something recently changed on ondrej repository again :(.



  • @Tom-Elliott

    Hi Tom

    I’m getting errors all over the VM thinking of making a new server to 14.04 Ubuntu is there any guides to assist me moving images over and database

    Kind Regards

    Lawrence


  • Senior Developer

    @lawrence1997 Now that it’s installed, mind try running the FOG installer?



  • @Tom-Elliott

    Hi Tom

    it ran the command through and looks like it installed it. The code is so long is there any particular part you would like to see.

    It finished with the following line:

    setting up php7.1 (7.1.0-3+deb.sury.org.precise+1) …

    Kind Regards

    Lawrence Lonsdale


  • Senior Developer

    @lawrence1997 What is output if you run:

    apt-get install -yq php7.1
    


  • Hi All

    Trying to update FOG Trunk and getting an issue with PHP 7.1. Please find log below from terminal when running ./installfog.sh command.

     * Installing package: apache2.................................OK
     * Skipping package: bc........................................(Already Installed)
     * Skipping package: build-essential...........................(Already Installed)
     * Skipping package: cpp.......................................(Already Installed)
     * Skipping package: curl......................................(Already Installed)
     * Skipping package: g++.......................................(Already Installed)
     * Installing package: gawk....................................OK
     * Skipping package: gcc.......................................(Already Installed)
     * Skipping package: gzip......................................(Already Installed)
     * Skipping package: htmldoc...................................(Already Installed)
     * Skipping package: lftp......................................(Already Installed)
     * Installing package: libapache2-mod-php7.1...................OK
     * Skipping package: libc6.....................................(Already Installed)
     * Skipping package: libcurl3..................................(Already Installed)
     * Skipping package: m4........................................(Already Installed)
     * Skipping package: mysql-client..............................(Already Installed)
     * Skipping package: mysql-server..............................(Already Installed)
     * Skipping package: net-tools.................................(Already Installed)
     * Skipping package: nfs-kernel-server.........................(Already Installed)
     * Skipping package: openssh-server............................(Already Installed)
     * Installing package: php7.1..................................Failed!
    
    

    Kind Regards

    Lawrence


  • Moderator

    @lawrence1997 Typically updating Ubuntu to a newer distribution doesn’t work very well with FOG. If you want to use a later version of Ubuntu, it might be best and most simple to build a new Ubuntu 16.04 Server and just migrate things over. There’s more than what you think involved with migrating, particularly this item that everyone usually misses: https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#Maintain_Control_Of_Hosts_When_Building_New_Server
    This would also help you:
    https://wiki.fogproject.org/wiki/index.php?title=Migrate_images_manually
    And of course the database, and then changing some items in the DB via the web interface:
    https://wiki.fogproject.org/wiki/index.php?title=Change_FOG_Server_IP_Address



  • @Wayne-Workman Will update our FOG Server would you reccomend updating the distro to the latest Ubuntu version or is 12.04 ok

    Kind Regards

    Lawrence


  • Moderator

    Because you’re running RC-12, please update, follow this guide:
    https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk
    Because your FOG Server is Ubuntu 12, please backup before updating (or snapshot if you can). Backup your database specifically via the web interface:
    Web Interface -> FOG Configuration -> Configuration Save -> Export

    So this problem you describe is new to me, I’ve not heard of this before. I don’t see how it’s possible, so I’m going to think a minor mistake was made somewhere. Can you please also post the output of these commands from your fog server:
    cd /images;du -sh
    df -h
    ls -lahRt /images

    Also, when you say “Crashes”, what does that mean? Can you give us a photo of what happens? The things displayed on screen are clues as always.
    Is this computer in UEFI mode?
    Does it have a mechanical HDD or SSD?
    How large is the drive?
    Is there only one drive?



  • Where does it crash at? Any error messages?

    Can you update to the latest RC?


Log in to reply
 

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