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

Error after upgrade from 0.32 to 1.0.1 Upload task failed to create for with image

Scheduled Pinned Locked Moved
FOG Problems
3
17
4.1k
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.
  • J
    Jim Holcomb
    last edited by May 21, 2014, 9:54 PM

    So I am following the usual steps I have always done: Create new Image, then create new Host. Then upload Image using (old) Task Management. This is when I get the error.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by May 21, 2014, 10:13 PM

      What I’m asking you, is did you assign the image to the host?

      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
      • J
        Jim Holcomb
        last edited by May 21, 2014, 10:14 PM

        YES! But when I go back to view the host, the Image information does not retain.

        1 Reply Last reply Reply Quote 0
        • J
          Jim Holcomb
          last edited by May 21, 2014, 10:16 PM

          Also, when I try to delete a host, the GUI hangs. I log back in, host remains 😞

          1 Reply Last reply Reply Quote 0
          • J
            Jim Holcomb
            last edited by May 21, 2014, 10:29 PM

            [COLOR=#393939][LEFT][SIZE=2][error] [client 192.168.1.65] PHP Warning: current() expects parameter 1 to be array, string given in /var/www/fog/lib/fog/Host.class.php on line 1159, referer: [url]http://192.168.1.200/fog/management/index.php?node=host&sub=delete&id=0[/url] [Wed May 21 18:16:14 2014] [error] [client 192.168.1.65] PHP Fatal error: Call to a member function isValid() on a non-object in /var/www/fog/lib/fog/Host.class.php on line 1159, referer: [url]http://192.168.1.200/fog/management/index.php?node=host&sub=delete&id=0[/url][/SIZE][/LEFT][/COLOR]

            1 Reply Last reply Reply Quote 0
            • J
              Jim Holcomb
              last edited by May 21, 2014, 10:30 PM

              Tom, any suggestions?

              1 Reply Last reply Reply Quote 0
              • J
                Junkhacker Developer
                last edited by May 21, 2014, 11:06 PM

                when you ran the install script, did you use the sudo command?
                also, did you have any scheduled or active tasks when you ran the installer?

                signature:
                Junkhacker
                We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                1 Reply Last reply Reply Quote 0
                • J
                  Jim Holcomb
                  last edited by May 21, 2014, 11:46 PM

                  Yes I ran sudo for the installer, not aware of any scheduled tasks. Changed the MySql password in config.php file, and I can log into the GUI successfully.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Jim Holcomb
                    last edited by May 22, 2014, 4:10 PM

                    Guys, anything? This is very frustrating! I have images now that I cannot use, and new images to create that cannot be created.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Junkhacker Developer
                      last edited by May 22, 2014, 4:35 PM

                      i’m still trying to look into what could be causing the problem. maybe make a backup of your server and try the latest svn trunk. i suspect that something has an invalid value in your mysql database, with regard to either hosts or tasks, but i can’t be certain.

                      signature:
                      Junkhacker
                      We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Jim Holcomb
                        last edited by May 22, 2014, 5:07 PM

                        What is a svn trunk?

                        1 Reply Last reply Reply Quote 0
                        • J
                          Junkhacker Developer
                          last edited by May 22, 2014, 5:44 PM

                          the svn trunk is the repository of pre-release code. it is the “bleeding-edge” of the software, and is not considered final release quality, generally. however, it does contain bug-fixes, updates, and features not included in the official releases. in general, it is not recommended to use the developmental versions in production environments. however, your system isn’t working right now anyway.
                          updating to the svn trunk version may fix your problem, i can’t be certain. It is also vital that you backup your server’s data before you update, as the code is not officially supported, and may contain bad bugs we haven’t found yet.
                          [url]http://www.fogproject.org/wiki/index.php/SVN[/url]

                          signature:
                          Junkhacker
                          We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

                          1 Reply Last reply Reply Quote 0
                          • J
                            Jim Holcomb
                            last edited by May 22, 2014, 5:53 PM

                            I’m using Webmin. Will using that backup option work ok? Have no experience with it. Just installed it two days ago.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Junkhacker Developer
                              last edited by May 22, 2014, 5:56 PM

                              i’m not familiar with webmin. but if it can make a full database backup, i don’t see why it wouldn’t work. you may also want to backup the files in the root of your web folder, just in case.

                              signature:
                              Junkhacker
                              We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

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

                              156

                              Online

                              12.1k

                              Users

                              17.3k

                              Topics

                              155.3k

                              Posts
                              Copyright © 2012-2024 FOG Project