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

    FOG fails to upload image after Debian was updated

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    1.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.
    • THEMCVT
      THEMCV
      last edited by THEMCV

      Server
      • FOG Version: 1.3.5 RC-1
      • OS: Debian 8.6
      Description

      FOG fails to upload image after Debian was updated.

      Apache log:

      [Mon Feb 06 11:03:48.429926 2017] [mpm_prefork:notice] [pid 10368] AH00169: caught SIGTERM, shutting down
      [Mon Feb 06 11:03:49.559827 2017] [mpm_prefork:notice] [pid 4179] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
      [Mon Feb 06 11:03:49.559865 2017] [core:notice] [pid 4179] AH00094: Command line: '/usr/sbin/apache2'
      [Mon Feb 06 11:17:16.265547 2017] [:error] [pid 4182] [client 10.4.69.52:64814] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/pages/taskmanagementpage.class.php on line 224, referer: http://10.4$
      [Mon Feb 06 11:17:16.379451 2017] [:error] [pid 11573] [client 10.4.69.52:64815] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/pages/taskmanagementpage.class.php on line 224, referer: http://10.$
      [Mon Feb 06 11:17:16.587608 2017] [:error] [pid 4186] [client 10.4.69.52:64819] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/pages/taskmanagementpage.class.php on line 224, referer: http://10.4$
      [Mon Feb 06 11:31:56.322698 2017] [:error] [pid 4186] [client 10.4.69.95:39928] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:31:56.323246 2017] [:error] [pid 4186] [client 10.4.69.95:39928] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:31:57.124225 2017] [:error] [pid 13327] [client 10.4.69.95:39930] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:31:57.124621 2017] [:error] [pid 13327] [client 10.4.69.95:39930] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:31:57.885775 2017] [:error] [pid 4185] [client 10.4.69.95:39932] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:31:57.886083 2017] [:error] [pid 4185] [client 10.4.69.95:39932] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:31:58.550556 2017] [:error] [pid 14115] [client 10.4.69.95:39934] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:31:58.551201 2017] [:error] [pid 14115] [client 10.4.69.95:39934] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:31:59.374683 2017] [:error] [pid 10733] [client 10.4.69.95:39936] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:31:59.375385 2017] [:error] [pid 10733] [client 10.4.69.95:39936] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:32:00.190689 2017] [:error] [pid 10718] [client 10.4.69.95:39938] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:32:00.191207 2017] [:error] [pid 10718] [client 10.4.69.95:39938] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:32:01.054907 2017] [:error] [pid 4184] [client 10.4.69.95:39940] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:32:01.055638 2017] [:error] [pid 4184] [client 10.4.69.95:39940] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:32:01.874828 2017] [:error] [pid 13327] [client 10.4.69.95:39942] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:32:01.875181 2017] [:error] [pid 13327] [client 10.4.69.95:39942] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:32:02.611097 2017] [:error] [pid 4186] [client 10.4.69.95:39944] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:32:02.611808 2017] [:error] [pid 4186] [client 10.4.69.95:39944] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:32:03.326837 2017] [:error] [pid 11573] [client 10.4.69.95:39946] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:32:03.327394 2017] [:error] [pid 11573] [client 10.4.69.95:39946] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      [Mon Feb 06 11:32:04.058606 2017] [:error] [pid 4186] [client 10.4.69.95:39948] PHP Warning:  ftp_rename(): Rename failed. in /var/www/fog/lib/fog/fogftp.class.php on line 769
      [Mon Feb 06 11:32:04.058983 2017] [:error] [pid 4186] [client 10.4.69.95:39948] PHP Warning:  ftp_put(): Could not create file. in /var/www/fog/lib/fog/fogftp.class.php on line 708
      
      

      0_1486398943711_2017-02-06 11_31_10-Windows 10 x64 - VMware Workstation.png

      Just a regular process of uploading a W10 image, but I think when the FOG server was updated that it broke FOG. 😞

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        Did you try again?

        I had a minor issue with this as well, creating a new image and uploading solved the issue in the one particular instance that I was seeing this error.

        It appeared to be an issue with transferring the image from the /images/dev/(macaddress) to /images/(nameofimage) folder.

        Can you try once more and report back? Hopefully we don’t have to do this for EVERY image (upload twice).

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        THEMCVT 1 Reply Last reply Reply Quote 0
        • THEMCVT
          THEMCV @Jaymes Driver
          last edited by

          @Jaymes-Driver Trying it again now!

          1 Reply Last reply Reply Quote 0
          • THEMCVT
            THEMCV
            last edited by THEMCV

            Tom had me upgrade to working-1.3.5. Here’s the new logs:

            [Mon Feb 06 12:59:05.188267 2017] [:error] [pid 10733] [client 10.4.69.95:37378] PHP Fatal error:  Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php on line 443
            [Mon Feb 06 12:59:09.474353 2017] [mpm_prefork:notice] [pid 4179] AH00169: caught SIGTERM, shutting down
            [Mon Feb 06 12:59:45.869366 2017] [mpm_prefork:notice] [pid 5066] AH00163: Apache/2.4.10 (Debian) OpenSSL/1.0.1t configured -- resuming normal operations
            [Mon Feb 06 12:59:45.869427 2017] [core:notice] [pid 5066] AH00094: Command line: '/usr/sbin/apache2'
            [Mon Feb 06 12:59:46.450005 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            [Mon Feb 06 12:59:46.450057 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            [Mon Feb 06 12:59:46.450077 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            [Mon Feb 06 12:59:46.450093 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            [Mon Feb 06 12:59:46.450109 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            [Mon Feb 06 12:59:46.450124 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            [Mon Feb 06 12:59:46.514217 2017] [:error] [pid 5069] [client 10.4.69.52:57690] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$```
            
            
            ```[Mon Feb 06 13:00:33.422911 2017] [:error] [pid 5070] [client 10.4.200.150:45922] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299
            [Mon Feb 06 13:00:33.422922 2017] [:error] [pid 5070] [client 10.4.200.150:45922] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299
            [Mon Feb 06 13:00:33.422942 2017] [:error] [pid 5070] [client 10.4.200.150:45922] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299
            [Mon Feb 06 13:00:33.422953 2017] [:error] [pid 5070] [client 10.4.200.150:45922] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299
            

            And then this a lot

            [Mon Feb 06 13:03:02.490517 2017] [:error] [pid 5069] [client 10.4.69.52:57991] PHP Strict Standards:  Only variables should be passed by reference in /var/www/fog/lib/fog/fogbase.class.php on line 1299, referer: http://10.4.200.150/fog$
            
            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by Tom Elliott

              During chat we ran into a couple minor issues that were in the working-1.3.5 branch.

              I will be pushing RC-2 shortly for testing purposes of course.

              I’ve since found these issues and believe they are fixed on the working branch.

              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

              Jaymes DriverJ 1 Reply Last reply Reply Quote 2
              • Jaymes DriverJ
                Jaymes Driver Developer @Tom Elliott
                last edited by

                @Tom-Elliott This, this is why we love you.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

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

                169

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project