mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-26 01:26:00 +03:00
[GH-ISSUE #1644] Bug: Archivebox install via portainer, seems running without errors (all containers) but webUI doesnt load #2495
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#2495
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nzbtuxnews on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1644
Originally assigned to: @pirate on GitHub.
Provide a screenshot and describe the bug
Installed archivebox via portainer, all containers are up & running without apparent errors, but somehow when I try to access the webUI on the configured port I get a "Unable to connect" (404).
What I dont understand also is that on serverIP:8055 I get a 404 error, but on serverIP:8056 I get a web root listing with
If I click on any of the last 3 links I get a NoVNC desktop of Fluxbox with nothing in it (empty desktop)....
Steps to reproduce
Logs or errors
ArchiveBox Version
How did you install the version of ArchiveBox you are using?
Docker (or Podman/LXC/K8s/TrueNAS/Proxmox/etc)
What operating system are you running on?
Linux (Ubuntu/Debian/Arch/Alpine/etc.)
What type of drive are you using to store your ArchiveBox data?
data/is on a local SSD or NVMe drivedata/is on a spinning hard drive or external USB drivedata/is on a network mount (e.g. NFS/SMB/Ceph/GlusterFS/etc.)data/is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/Google Drive/Dropbox/etc.)Docker Compose Configuration
ArchiveBox Configuration
@pirate commented on GitHub (Jan 30, 2025):
Can you add/edit these lines and try again:
docker-compose.yml:Also please share the full output of this after restarting and trying to visit
http://serverip:8555:docker compose logs archiveboxIf you have any kind of ingress system in front of archivebox make sure you're not trying to host it under some subpath like
http://serverip:8555/archivebox, it must be served from the roothttp://serverip:8555/.@nzbtuxnews commented on GitHub (Jan 31, 2025):
Hi, I modified the compose script as you suggested and redeployed (re-pulled the images) and unfortunately trying to access the server at port 8555 doesnt work (404). I also dont see much in the archivebox container logs other than:
I am not running anything fancy (reverse proxies, ot anything else)... The container is deployed directly on a Proxmox VM accessible directly visa FQDN or IP... So entering http://FQDN:8555 should work...
@pirate commented on GitHub (Jan 31, 2025):
It looks like your archivebox server is not actually up if there are no lines after
[*] Verifying main SQL index and running any migrations needed...then it's stuck in migrations and never finished starting. It should look like this once it's running:Do you have a huge archive that it's stalled trying to upgrade? Or perhaps there are some orphan archivebox containers still running that need to be stopped? Or perhaps it's on a very slow filesystem?
Also if you're seeing a 404 that means something else is running on the that port that might be conflicting with archivebox, until the server comes up you should see connection refused or connection timed out, not a 404.
@nzbtuxnews commented on GitHub (Feb 2, 2025):
Well, I think I found the issue(s).....
Due to another container that was issuing "flock 200 - No locks available" I became suspicious about filesystem issues and turns out, "/mnt/data" being a NFS mount, it was causing this problem (apparently NFS is notoriously BAD at file locking among other things...)
Moving the folders out of it for this container instantly solved the problem with file locking so naturally I thought trying the same for Archivebox and move the volumes to a local filesystem.
Re-deployed and it worked instantly..... I'm sorry about this if I knew NFS was going to be such a PITA I would have avoided it to begin with.
Apparently portainer has troubles parsing environment variables to the container during deployment. The environment variables need to be called (added manually) in the environment section of the compose script without actual values....
https://github.com/portainer/portainer/issues/10491
Now Archivebox seems to be working well so I consider this ticket solved but I recommend adding warnings to the installation instructions to avoid portainer for now, and definitely avoid NFS...
FTR my current docker compose: