[GH-ISSUE #415] Bugfix: Server Error (500) after adding but it worked #3298

Closed
opened 2026-03-14 22:00:07 +03:00 by kerem · 3 comments
Owner

Originally created by @Jwink3101 on GitHub (Jul 31, 2020).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/415

Describe the bug

After adding a page (for example https://en.wikipedia.org/wiki/Internet_Archive), I get a Server Error (500)

If I refresh, it is there and it worked. I look at stdout and I see nothing except the actuall 500 err:

[31/Jul/2020 22:39:32] "GET /admin/core/snapshot/add/ HTTP/1.0" 200 8754
[31/Jul/2020 22:39:32] "GET /static/admin/css/base.css HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin/css/dashboard.css HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin/css/responsive.css HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin/css/fonts.css HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin.css HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/archive.png HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.0" 304 0
[31/Jul/2020 22:39:32] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.0" 304 0
[31/Jul/2020 22:40:19] "POST /admin/core/snapshot/add/? HTTP/1.0" 500 145

Steps to reproduce

Here is my config. Note that the first three export lines shouldn't matter and relate to another issue I will be adding after this one

#!/usr/bin/env bash
# Run and start archivebox

cd /home/jwink3101/webapps/archivebox/data/

# Python versions, etc for sqlite3
export PATH=/home/jwink3101/webapps/archivebox/sqlite/bin/:$PATH
export LD_LIBRARY_PATH=/home/jwink3101/webapps/archivebox/sqlite/lib
export LD_RUN_PATH=/home/jwink3101/webapps/archivebox/sqlite/lib/

# Settings for public view: 
export PUBLIC_INDEX=False
export PUBLIC_SNAPSHOTS=False 

# My settings for archivebox
export SUBMIT_ARCHIVE_DOT_ORG=False

# No chrome
export FETCH_SCREENSHOT=False
export FETCH_DOM=False
export FETCH_PDF=False

#### Run

# Kill the old one if it's running
cat ../logs/run.pid 1> /dev/null 2>&1 && kill $(cat ../logs/run.pid) 2>/dev/null

nohup archivebox server 127.0.0.1:26186 > ../logs/out 2> ../logs/err & echo $! > ../logs/run.pid 

Add a URL

Screenshots or log output

See above

Software versions

  • OS: Running on Webfaction. I don't administer the server but running some commands it is centOS7 with kernel 3.10.0-1062.18.1.el7.x86_64
  • ArchiveBox version: 0.4.9 (installed vis pip)
  • Python version: 3.7.8
  • Chrome version: N/A
Originally created by @Jwink3101 on GitHub (Jul 31, 2020). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/415 <!-- Please fill out the following information, feel free to delete sections if they're not applicable or if long issue templates annoy you :) --> #### Describe the bug After adding a page (for example https://en.wikipedia.org/wiki/Internet_Archive), I get a `Server Error (500)` If I refresh, it is there and it worked. I look at stdout and I see nothing except the actuall 500 err: ``` [31/Jul/2020 22:39:32] "GET /admin/core/snapshot/add/ HTTP/1.0" 200 8754 [31/Jul/2020 22:39:32] "GET /static/admin/css/base.css HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin/css/dashboard.css HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin/css/responsive.css HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin/css/fonts.css HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin.css HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/archive.png HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.0" 304 0 [31/Jul/2020 22:39:32] "GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.0" 304 0 [31/Jul/2020 22:40:19] "POST /admin/core/snapshot/add/? HTTP/1.0" 500 145 ``` #### Steps to reproduce Here is my config. Note that the first three `export` lines shouldn't matter and relate to another issue I will be adding after this one ```bash #!/usr/bin/env bash # Run and start archivebox cd /home/jwink3101/webapps/archivebox/data/ # Python versions, etc for sqlite3 export PATH=/home/jwink3101/webapps/archivebox/sqlite/bin/:$PATH export LD_LIBRARY_PATH=/home/jwink3101/webapps/archivebox/sqlite/lib export LD_RUN_PATH=/home/jwink3101/webapps/archivebox/sqlite/lib/ # Settings for public view: export PUBLIC_INDEX=False export PUBLIC_SNAPSHOTS=False # My settings for archivebox export SUBMIT_ARCHIVE_DOT_ORG=False # No chrome export FETCH_SCREENSHOT=False export FETCH_DOM=False export FETCH_PDF=False #### Run # Kill the old one if it's running cat ../logs/run.pid 1> /dev/null 2>&1 && kill $(cat ../logs/run.pid) 2>/dev/null nohup archivebox server 127.0.0.1:26186 > ../logs/out 2> ../logs/err & echo $! > ../logs/run.pid ``` Add a URL #### Screenshots or log output See above #### Software versions - OS: Running on Webfaction. I don't administer the server but running some commands it is centOS7 with kernel `3.10.0-1062.18.1.el7.x86_64` - ArchiveBox version: 0.4.9 (installed vis pip) - Python version: 3.7.8 - Chrome version: N/A
kerem closed this issue 2026-03-14 22:00:12 +03:00
Author
Owner

@cdvv7788 commented on GitHub (Jul 31, 2020):

@Jwink3101 https://github.com/pirate/ArchiveBox/issues/409 Can you please confirm if it is the same issue?

<!-- gh-comment-id:667421710 --> @cdvv7788 commented on GitHub (Jul 31, 2020): @Jwink3101 https://github.com/pirate/ArchiveBox/issues/409 Can you please confirm if it is the same issue?
Author
Owner

@Jwink3101 commented on GitHub (Jul 31, 2020):

@Jwink3101 #409 Can you please confirm if it is the same issue?

Yes with the exception that I am not running in Docker. Very likely unrelated.

Sorry for the duplication.

<!-- gh-comment-id:667424066 --> @Jwink3101 commented on GitHub (Jul 31, 2020): > @Jwink3101 #409 Can you please confirm if it is the same issue? Yes with the exception that I am not running in Docker. Very likely unrelated. Sorry for the duplication.
Author
Owner

@john-clark commented on GitHub (Aug 4, 2020):

Latest version fixed my 500 error too.

<!-- gh-comment-id:668746525 --> @john-clark commented on GitHub (Aug 4, 2020): Latest version fixed my 500 error too.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3298
No description provided.