Image will Upload but not save after upgrade!



  • I recently just upgraded to the newest version of fog, and after doing so whenever I try to upload an image it will start and finish the upload on the client computer but the file size on the server will remain at 0. The permissions for the file are drwxrwxrwx so it should be working. Does anyone have any ideas or what I should check?

    Thank you in advance.

    -Rob


  • Senior Developer

    As you likely moved the data:

    Try these commands:
    [code]chown -R fog:root /media/lroot
    chmod -R 777 /media/lroot[/code]



  • I am also having this issue. Uploaded the image successfully but the issue is at the end of the image, fog doesn’t rename the file and pull it from /media/lroot/images/dev to the /media/lroot/images folder. I did change the location of the images folder.

    Basics: Please provide:
    FOG Version (e.g. FOG 0.32, FOG 0.33, FOG 0.01) 1.1.2
    OS Version (e.g. CentOS 6.5, Ubuntu 12.04, Redhat 6.5) Linux Mint 17 Qiana - MATE

    Can you provide your installation details? Installed following the Wiki
    This is now included as a long file in 1.1.0 in location /var/log/foginstall.log

    Script started on Mon 14 Jul 2014 04:14:25 PM EDT
    LinuxMint

    Have you checked your apache error logs? Can you provide information from these logs?
    [Tue Jul 15 10:35:53.407587 2014] [mpm_prefork:notice] [pid 2203] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured – resuming normal operations
    [Tue Jul 15 10:35:53.418038 2014] [core:notice] [pid 2203] AH00094: Command line: '/usr/sbin/apache2’
    df: ‘/media/lroot/images’: Permission denied
    [Tue Jul 15 11:47:59.104918 2014] [mpm_prefork:notice] [pid 2203] AH00169: caught SIGTERM, shutting down
    [Tue Jul 15 11:48:00.156079 2014] [mpm_prefork:notice] [pid 6381] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.3 configured – resuming normal operations
    [Tue Jul 15 11:48:00.156168 2014] [core:notice] [pid 6381] AH00094: Command line: '/usr/sbin/apache2’
    df: ‘/media/lroot/images’: Permission denied
    [Tue Jul 15 12:02:48.251581 2014] [:error] [pid 6389] [client 192.168.1.149:43949] PHP Fatal error: Uncaught exception ‘Exception’ with message 'FOGFTP: Login failed. Host: 192$
    [Tue Jul 15 12:05:00.958876 2014] [:error] [pid 6386] [client 192.168.1.149:43958] PHP Fatal error: Uncaught exception ‘Exception’ with message 'FOGFTP: Login failed. Host: 192$
    [Tue Jul 15 12:14:23.532678 2014] [:error] [pid 7891] [client 192.168.1.159:14025] PHP Fatal error: Uncaught exception ‘Exception’ with message 'Host is already a member of a a$
    ls: cannot access /media/lroot/images/RMDSysprepped: Permission denied
    ls: cannot access /media/lroot/images/RMDSysprepped: Permission denied

    Debian based Location (normally)
    /var/log/apache2/error.log
    Redhat based Location (normally)
    /var/log/httpd/error_log

    Have you searched the forums for your issue yet?
    Sort of, but I am unfamiliar with file and folder permissions in this regard
    Have you checked the [URL=‘http://fogproject.org/wiki’]wiki[/URL] yet?
    Yes
    Kernel Issues: [url]http://fogproject.org/wiki/index.php/FAQ[/url]


Log in to reply
 

435
Online

38998
Users

10717
Topics

101752
Posts

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