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

Upgrade rc13 to rc19

Scheduled Pinned Locked Moved Solved
Bug Reports
2
18
4.3k
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.
  • T
    Tom Elliott
    last edited by Nov 2, 2016, 10:47 AM

    Based on what I’m seeing, there’s an error somehwere.

    Can you get output of apache error log?

    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

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Nov 2, 2016, 11:03 AM

      Found and fixed. Please repull and install and you should be fine.

      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

      1 Reply Last reply Reply Quote 1
      • R
        raumin
        last edited by Nov 2, 2016, 12:04 PM

        Perfect, thank you!

        raumin

        FOG trunk

        1 Reply Last reply Reply Quote 0
        • R
          raumin
          last edited by Nov 2, 2016, 12:20 PM

          Hmm i get another problem after the end of capture.
          0_1478089233126_error-2.jpg

          FOG trunk

          T 1 Reply Last reply Nov 2, 2016, 12:37 PM Reply Quote 0
          • T
            Tom Elliott @raumin
            last edited by Nov 2, 2016, 12:37 PM

            @raumin I’m not able to replicate. Can you try:

            chmod -R 777 /images/dev

            Then in the browser run:

            http://fog.mastacontrola.com/fog/service/Post_Stage2.php?mac=xx:xx:xx:xx:xx:xx

            Replacing the “X’s” with that of the mac of the host you’re performing the upload with.

            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

            1 Reply Last reply Reply Quote 0
            • R
              raumin
              last edited by Nov 2, 2016, 12:42 PM

              No problem with chmod -R 777 but i get white screen when executing your command http://fogserver/fog/service/Post_Stage2.php?mac=xx:xx:xx:xx:xx:xx

              Does it mean it’s ok ?

              FOG trunk

              T 1 Reply Last reply Nov 2, 2016, 1:19 PM Reply Quote 0
              • T
                Tom Elliott @raumin
                last edited by Nov 2, 2016, 1:19 PM

                @raumin Not necessarily, but what’s in the /var/log/apache2/error.log or /var/log/httpd/error_log file?

                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

                1 Reply Last reply Reply Quote 0
                • R
                  raumin
                  last edited by Nov 2, 2016, 1:38 PM

                  it seems to be an FTP access error…

                  in /opt/fog/.fogsettings the password is with single or double quotes ?

                  password="my_password"
                  

                  or

                  password='my_password'
                  

                  I get this error:

                  [Wed Nov 02 13:57:26.900128 2016] [:error] [pid 39749] [client 172.20.151.202:55526] PHP Fatal error:  Uncaught exception 'Exception' with message 'Type: 2, File: /var/www/html/fog/lib/fog/fogftp.class.php, Line: 708, Message: ftp_put(images/dev/9890969fa527): failed to open stream: No such file or directory, Host: 172.20.25.204, Username: fog' in /var/www/html/fog/lib/fog/fogftp.class.php:367\nStack trace:\n#0 /var/www/html/fog/lib/fog/fogftp.class.php(772): FOGFTP->ftperror(Array)\n#1 /var/www/html/fog/lib/reg-task/taskqueue.class.php(389): FOGFTP->rename('images/dev/9890...', 'images/CELAB_AV...')\n#2 /var/www/html/fog/lib/reg-task/taskqueue.class.php(435): TaskQueue->_moveUpload()\n#3 /var/www/html/fog/service/Post_Stage2.php(24): TaskQueue->checkout()\n#4 {main}\n  thrown in /var/www/html/fog/lib/fog/fogftp.class.php on line 367
                  

                  There seems to be a problem with

                  Username: fog'
                  

                  One single quote is missing no ?

                  FOG trunk

                  T 2 Replies Last reply Nov 2, 2016, 1:40 PM Reply Quote 0
                  • T
                    Tom Elliott @raumin
                    last edited by Nov 2, 2016, 1:40 PM

                    @raumin The quote is started from with message ‘Type: 2, File… and ends on Username fog’

                    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

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott @raumin
                      last edited by Nov 2, 2016, 1:42 PM

                      @raumin Single or double does not matter. Is the username and password correct in the storage node?

                      What’s the output of:

                      ls -lhaRrt /images/dev

                      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

                      1 Reply Last reply Reply Quote 0
                      • R
                        raumin
                        last edited by Nov 2, 2016, 1:49 PM

                        Oh ok.

                        My images are on a NAS (credentials are ok), here the output:

                        root@rudolf:/tmp/willy# ls -lhaRrt dev
                        dev:
                        total 36K
                        -rwxrwxrwx+  1 500 root     0 Jan 12  2015 .mntcheck
                        drwxrwxrwx+  2 500 users 4.0K Oct 12 10:42 9890969ef3c2
                        drwxrwxrwx+ 24 500 users 4.0K Oct 18 14:51 ..
                        drwxrwxrwx+  4 500 users 4.0K Nov  2 10:18 .
                        drwxrwxrwx+  2 500 users 4.0K Nov  2 13:57 9890969fa527
                        
                        dev/9890969ef3c2:
                        total 44K
                        -rwxrwxrwx+ 1 500 users    3 Oct 12 10:42 d1.fixed_size_partitions
                        -rwxrwxrwx+ 1 500 users  190 Oct 12 10:42 d1.partitions
                        -rwxrwxrwx+ 1 500 users    0 Oct 12 10:42 d1.original.swapuuids
                        drwxrwxrwx+ 2 500 users 4.0K Oct 12 10:42 .
                        -rwxrwxrwx+ 1 500 users   15 Oct 12 10:42 d1.original.fstypes
                        drwxrwxrwx+ 4 500 users 4.0K Nov  2 10:18 ..
                        
                        dev/9890969fa527:
                        total 7.0G
                        drwxrwxrwx+ 4 500 users 4.0K Nov  2 10:18 ..
                        -rwxrwxrwx+ 1 500 users    3 Nov  2 13:43 d1.fixed_size_partitions
                        -rwxrwxrwx+ 1 500 users  190 Nov  2 13:43 d1.partitions
                        -rwxrwxrwx+ 1 500 users    0 Nov  2 13:43 d1.original.swapuuids
                        -rwxrwxrwx+ 1 500 users   15 Nov  2 13:43 d1.original.fstypes
                        -rwxrwxrwx+ 1 500 users 1.0M Nov  2 13:43 d1.mbr
                        -rwxrwxrwx+ 1 500 users  190 Nov  2 13:43 d1.minimum.partitions
                        -rwxrwxrwx+ 1 500 users 305M Nov  2 13:43 d1p1.img
                        -rwxrwxrwx+ 1 500 users 6.7G Nov  2 13:57 d1p2.img
                        drwxrwxrwx+ 2 500 users 4.0K Nov  2 13:57 .
                        

                        FOG trunk

                        T 1 Reply Last reply Nov 2, 2016, 1:54 PM Reply Quote 0
                        • T
                          Tom Elliott @raumin
                          last edited by Nov 2, 2016, 1:54 PM

                          @raumin So it looks like the ownership has been changed to that of whatever the FOG uid is On your server, but it’s not owned by the FOG user UID on yoru NAS.

                          Can you get the NAS’s representation of the UID? Maybe something like:

                          chown -R fog:users /images on the NAS?

                          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

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Nov 2, 2016, 1:55 PM

                            What might also help is to reset the fog uid on the NAS to match that of the server’s FOG user id (currently 500 on your server).

                            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

                            1 Reply Last reply Reply Quote 0
                            • R
                              raumin
                              last edited by Nov 2, 2016, 2:21 PM

                              The user ID 500 was on the NAS so i changed on my server the UID of my user fog to 500.
                              So now, the UID and GID on the NAS and on my server are the same.

                              I retry…

                              FOG trunk

                              1 Reply Last reply Reply Quote 0
                              • R
                                raumin
                                last edited by Nov 2, 2016, 2:23 PM

                                can i remove manually temp folders in /images/dev?

                                FOG trunk

                                T 1 Reply Last reply Nov 2, 2016, 2:31 PM Reply Quote 0
                                • T
                                  Tom Elliott @raumin
                                  last edited by Nov 2, 2016, 2:31 PM

                                  @raumin You can remove them, but for the MAC address labels those ARE the uploaded files.

                                  For your particular situation, I’d try running the Post_Stage2.php link I suggested earlier. This should remove the image from the dev folder for that relevant mac address and complete the “process” of the task for you.

                                  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

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    raumin
                                    last edited by Nov 2, 2016, 2:52 PM

                                    Ok thank you, everything works perfectly, i dont know why it was not working anymore…

                                    FOG trunk

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

                                    132

                                    Online

                                    12.2k

                                    Users

                                    17.4k

                                    Topics

                                    155.5k

                                    Posts
                                    Copyright © 2012-2024 FOG Project