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

Http 500

Scheduled Pinned Locked Moved
FOG Problems
2
13
2.8k
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.
  • A
    adukes40
    last edited by adukes40 Jun 20, 2016, 2:42 PM Jun 20, 2016, 8:37 PM

    I just imported a couple thousand hosts to FOG and now when I go to list them all I get is:

    0_1466454994273_upload-a5a28b35-fc1b-4c7b-8b6d-584359f04352

    Oh and this is what shows in the Apache log viewer:

    0_1466455325843_upload-963cb9b3-44a1-4f36-ad1b-b2cc5e67f6a5

    Version 8159

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jun 20, 2016, 2:49 PM Jun 20, 2016, 8:48 PM

      You most likely have formatting issues in the import, if I had to guess.

      We can manually truncate the tables so you can try again and again until it’s correct. Be aware this will bast all the host records you have:

      mysql
      use fog
      truncate table hosts;
      truncate table hostMAC;
      

      Also, in the future, before you do this, do a configuration save so you can go back if it gets jacked up.
      Web Interface -> FOG Configuration -> Configuration Save -> Export

      ALSO, if you are so lucky to have fogguiuser and foggui password in your .fogsettings file as proper, and have updated recently, you will find DB backups inside of /home

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • A
        adukes40
        last edited by Jun 20, 2016, 9:21 PM

        When trying to reimport back in, it looks like it timesout during the upload. I get the http 500, then i try to reupload the same file. Sometimes it takes a few tries to get them all. They finally go through. I tried breaking them down into 500 host segments, and 250 host segments. Only once has it gone through all the way doing a successful 250/250, all times it timesout.

        W 1 Reply Last reply Jun 20, 2016, 9:26 PM Reply Quote 0
        • W
          Wayne Workman @adukes40
          last edited by Jun 20, 2016, 9:26 PM

          @adukes40 Did you build this file manually or did you export it from another fog 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!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          A 1 Reply Last reply Jun 20, 2016, 9:32 PM Reply Quote 0
          • A
            adukes40 @Wayne Workman
            last edited by adukes40 Jun 20, 2016, 3:32 PM Jun 20, 2016, 9:32 PM

            @Wayne-Workman Manually. I only have 2 fields. the first field in the MAC and the second is the machine name. I have dropped down to uploading 100 at a time, and seems to be cooperating better. Still a bit more than a 1000 to go.

            although I did do a machine export to verify the field order.

            W 1 Reply Last reply Jun 20, 2016, 9:35 PM Reply Quote 0
            • W
              Wayne Workman @adukes40
              last edited by Jun 20, 2016, 9:35 PM

              @adukes40 What sort of link speed is between your workstation and the server?

              It’s possible the connection is being lost I guess, or the file is being sent incorrectly.

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              A 1 Reply Last reply Jun 20, 2016, 9:37 PM Reply Quote 0
              • A
                adukes40 @Wayne Workman
                last edited by adukes40 Jun 20, 2016, 3:38 PM Jun 20, 2016, 9:37 PM

                @Wayne-Workman 10mb. I copied the csv over to the local site and tried, but was still having to click upload multiple times. It seems importing them 100 at a time is making the import look better, but now sitting at 3000 hosts… I can’t click on the Lists all Hosts. Instantly goes to 500 error. I was checking it every so often. It would load closer to 2000, but now it does not.

                Also click Lists all Hosts, while remoted into a machine at the server site, instantly returns 500. I can search for them and it works, but just not list all.

                W 1 Reply Last reply Jun 20, 2016, 9:39 PM Reply Quote 0
                • W
                  Wayne Workman @adukes40
                  last edited by Jun 20, 2016, 9:39 PM

                  @adukes40 I think this could be related to a bug I found today - I talked to Tom about it but haven’t officially reported yet… I’ll do that now.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman
                    last edited by Jun 20, 2016, 9:47 PM

                    Here: https://forums.fogproject.org/topic/7838/host-import-from-production-fog-system-into-another-production-fog-system

                    Not exactly your problem, but I do think it’s related.

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    A 1 Reply Last reply Jun 21, 2016, 12:06 AM Reply Quote 0
                    • A
                      adukes40 @Wayne Workman
                      last edited by adukes40 Jun 20, 2016, 6:08 PM Jun 21, 2016, 12:06 AM

                      @Wayne-Workman I got the page to go away. all 3072 hosts now load when I click List all Hosts. Takes a few seconds, but it loads. I ended up going to to FOG Settings > General Settings > FOG_MEMORY_LIMIT. Every time I bumped it up higher the faster it loaded. Going from 128 to 512 at least let the page load. bumping it to 1024, just made it better. Testing at 2048 even better. (Memory isn’t an issue here)

                      Subsequently I couldn’t add multiple members to groups because the page would never load. It now lets me browse hosts not part of a group and add them.

                      W 1 Reply Last reply Jun 21, 2016, 12:14 AM Reply Quote 0
                      • W
                        Wayne Workman @adukes40
                        last edited by Jun 21, 2016, 12:14 AM

                        @adukes40 Hmm so I guess your problem is not like mine, the page loads every time for me, just doesn’t have all hosts lol.

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        A 1 Reply Last reply Jun 21, 2016, 12:25 AM Reply Quote 0
                        • A
                          adukes40 @Wayne Workman
                          last edited by Jun 21, 2016, 12:25 AM

                          @Wayne-Workman yea basically I could search for individual hosts, but not click List all, it would just bomb to the 500 error. When I would click Membership in group mgmt, just came up with a blank white page. I don;t know why I thought about the memory limit, but figure WTH, and it turns out it worked for my case. Now that I can add to groups in mass, I will now push an Inventory task to everything so that get all updated.

                          W 1 Reply Last reply Jun 21, 2016, 12:38 AM Reply Quote 0
                          • W
                            Wayne Workman @adukes40
                            last edited by Jun 21, 2016, 12:38 AM

                            @adukes40 I guess if I was more on top of my game tonight, I’d have seen the 500 page and said to look at the Apache Error logs, and I imagine we would see some errors about memory being exhausted… I’m glad you figured it out.

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

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

                            253

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project