FOG fails to upload image after Debian was updated
-
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
Just a regular process of uploading a W10 image, but I think when the FOG server was updated that it broke FOG.
-
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).
-
@Jaymes-Driver Trying it again now!
-
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$
-
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.
-
@Tom-Elliott This, this is why we love you.