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

    Image ID must be numeric ...

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    30
    11.9k
    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.
    • E
      Ethaan268
      last edited by

      FOG 0.32 on Debian 7.1 …
      Thanks for your answer Albatros !

      1 Reply Last reply Reply Quote 0
      • A
        Albatros
        last edited by

        You had no problems on installation? At the moment I find only this, about a problem with a [URL=‘http://fogproject.org/forum/threads/setting-up-and-building-udpcast-failed.4548/page-2#post-22631’]variable[/URL], who Kevin mentions. I don’t know if that helps you.

        1 Reply Last reply Reply Quote 0
        • E
          Ethaan268
          last edited by

          It is the only thing I found on Internet and that’s why I posted on FOG forums… I verified, image’s name, deleting space or dash, I hoped it would change the problem but anything happened …

          1 Reply Last reply Reply Quote 0
          • A
            Albatros
            last edited by

            Okay. YOu are using a newer version of php 5.3 and have no problem with starting tasks, because you say you can already starting the upload of a image.

            1 Reply Last reply Reply Quote 0
            • E
              Ethaan268
              last edited by

              Screen with the evolution of client image’s upload appears (as in 6:14 [media=youtube]fdfY7kt7oGE[/media]) but the screen change few seconds after it and it shows the error message “Image ID must be numeric”.

              1 Reply Last reply Reply Quote 0
              • Tom ElliottT
                Tom Elliott
                last edited by

                In the file:

                01-XX-XX-XX-XX-XX-XX make sure imgid is set to the image id of the image you’re attempting to upload. It sounds like your pxe generated file isn’t setup properly, almost like it has generated a deploy job. Hence why you had to change the “type=down” line to “type=up”.

                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
                • E
                  Ethaan268
                  last edited by

                  File 01-XX… :
                  type=up img=w7opt620

                  Image Management :
                  w7opt620

                  All was fine …

                  1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott
                    last edited by

                    Can you try adding the the imgid parameter. At the end of the append line, add imgid=##

                    Where ## is the image id for w7opt620.

                    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
                    • E
                      Ethaan268
                      last edited by

                      So, I add imgid=w7opt620 at the end of the append line ?
                      (w7opt620 is the one image id I know …)

                      1 Reply Last reply Reply Quote 0
                      • Tom ElliottT
                        Tom Elliott
                        last edited by

                        No,

                        the numeric ID of w7opt630.

                        It will be in your mysql database as a number. So you look for (on the FOG database):

                        [code]select imageID from images WHERE imageName=‘w7opt620’;[/code]

                        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
                        • E
                          Ethaan268
                          last edited by

                          I did the sql request and the result is “1”; so I add imgid=1 at the end of the append line and message error changed. It is a problem in my different files, so I will go to look it and I will tell you evolution !
                          Thank you very much Tom !!! 😄

                          1 Reply Last reply Reply Quote 0
                          • E
                            Ethaan268
                            last edited by

                            Tom please … Your help is so precious for me as I cannot take place any more 🙂
                            The new error message is “unable to move /images/dev/00XXXXX… to /images/w7opt620”

                            In /images :
                            01XX… dev w7opt620

                            In /images/dev :
                            01XX…

                            ls -ln /images :
                            -rwxrwxrwx 1 1000 0 0 févr. 11 14:20 01XXX…
                            drwxrwxrwx 2 1000 0 1024 févr. 11 14:46 dev

                            ls -ln / :
                            drwxrwxrwx 3 1000 0 1024 févr. 11 14:45 images
                            Ideas ?

                            1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott
                              last edited by

                              I’m really worried about the task creation scheme you’re seeing more than anything. We’ve had to modify the 01-XX… file to get you to a sort-of working state.

                              Can you do me a favor and delete the 01-… file, remove the task from the queue, if it isn’t already removed, and then recreate the Upload task?

                              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
                              • E
                                Ethaan268
                                last edited by

                                I have to delete the 01-XX file from /images or from /images/dev ?..

                                1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott
                                  last edited by

                                  neither.

                                  Delete the 01-XX-XX-XX-XX-XX-XX from the /tftpboot/pxelinux.cfg/ folder.

                                  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
                                  • E
                                    Ethaan268
                                    last edited by

                                    Are you sure I have to do this ? This folder contains a lot of information for fog …

                                    1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott
                                      last edited by

                                      Don’t delete the whole folder. Just delete the file that is named:
                                      01-XX-XX-XX-XX-XX-XX Where the XX’s represent the MAC address of the system you’re trying to get to upload the image.

                                      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
                                      • E
                                        Ethaan268
                                        last edited by

                                        But in /tftpboot/pxelinux.cfg/, there are two files: 01-XX… and default. And in the 01-XX file, there is it:

                                        "# Created by FOG Imaging System

                                        DEFAULT fog

                                        LABEL fog

                                        kernel fog/kernel/bzImage

                                        append initrd=fog/images/init.gz root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns=193.52.239.70 type=up img=w7opt620 … "

                                        Sorry if I take you a lot of time and thank you for your patience …

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          Albatros
                                          last edited by

                                          The file name is the mac of the pc, only delete this file. The file named default is the fog boot menu.

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            Ethaan268
                                            last edited by

                                            Okay, I arrived on the FOG menu … What I must to do ?

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

                                            270

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project