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

PXE Backgrounds 404 not found.

Scheduled Pinned Locked Moved Solved
FOG Problems
2
6
729
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.
  • S
    sourceminer
    last edited by Jan 13, 2018, 3:21 PM

    This is a duplicate issue as others have had but due to previous threads being closed (some without answers).

    1. Copied bg.png into photo shop and changed a few things. Created a copy, gave it a name bg2.png file size is smaller than the original.

    2. Uploaded the file to /var/www/fog/service/ipxe as bg2.png

    3. Changed the owners to www-data:www-data permissions set to 644 (like all the others)

    4. Tried to browse to the file using http://serveraddress/fog/service/ipxe/bg2.png (does not work)

    5. Following step 4 with bg.png does work.

    Leads me to believe these are not in the path, or that Apache doesn’t like the file for some reason.

    Apache logs just say that there is a 404 file not found, but as I have stated the file is there. What could be causing this?

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator @sourceminer
      last edited by Jan 13, 2018, 4:03 PM

      @sourceminer can you confirm that bg2.png exists in the path I provided? As well as direct copying bg.png to pg3.png in the exact path I provided. There is/was an issue with ubuntu where there was two data paths for fog /var/www/html/fog/service/ipxe and /var/www/fog/service/ipxe

      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!

      1 Reply Last reply Reply Quote 1
      • G
        george1421 Moderator
        last edited by Jan 13, 2018, 3:28 PM

        Repost from the other thread:

        @sourceminer Does the apache error log provide any clue?

        You have the right url path and if the permissions are set correctly it “should” work.

        If you were to go into the /var/www/html/fog/service/ipxe (watch the path, because there should be a ln directory in there) and copy bg.png bg3.png does it load.

        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!

        1 Reply Last reply Reply Quote 0
        • S
          sourceminer
          last edited by sourceminer Jan 13, 2018, 10:25 AM Jan 13, 2018, 3:54 PM

          Thanks @george1421 for the response. The Log does not provide any clue.
          [12/Jan/2018:15:14:41 -0800] “GET /fog/service/ipxe/bg2.png HTTP/1.1” 404 525 “-”

          I did not think of renaming the existing bg.png to bg3.png, however in just testing this it did not work. Same error.

          G 1 Reply Last reply Jan 13, 2018, 4:03 PM Reply Quote 0
          • G
            george1421 Moderator @sourceminer
            last edited by Jan 13, 2018, 4:03 PM

            @sourceminer can you confirm that bg2.png exists in the path I provided? As well as direct copying bg.png to pg3.png in the exact path I provided. There is/was an issue with ubuntu where there was two data paths for fog /var/www/html/fog/service/ipxe and /var/www/fog/service/ipxe

            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!

            1 Reply Last reply Reply Quote 1
            • S
              sourceminer
              last edited by Jan 13, 2018, 5:07 PM

              Ah… ok checked that path HTML/fog/service/ipxe and bingo… the files do not exist.
              Copied the files and boom they work.

              1 Reply Last reply Reply Quote 0
              • S
                sourceminer
                last edited by Jan 16, 2018, 6:16 PM

                This ticket can be marked as solved. Just need to make sure documentation for RC10 is up to date as there is a problem with the link.

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

                199

                Online

                12.1k

                Users

                17.3k

                Topics

                155.4k

                Posts
                Copyright © 2012-2024 FOG Project