mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 09:06:02 +03:00
[GH-ISSUE #1546] Bug: Cannot mount data folder from a network share #2426
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#2426
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 @JPeroutek on GitHub (Oct 17, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1546
Describe the bug
When attempting to mount the
datafolder from a folder on a network share, I get the following error:Data mounting error
More details:
archivebox_datacifs volume mounted to my NAS's UNC path. I use this system on other compose files without issues.Steps to reproduce
Using the above docker compose file, run
docker compose up. To replicate, you will need to change the network share location.Screenshots or log output
Data mounting error
ArchiveBox version
Although I've since reverted to the Data folder on my C drive, because the network share folder did not work...
@pirate commented on GitHub (Oct 17, 2024):
This is likely due to the underlying mount not supporting permissions, archivebox cannot use drives that coerce permissions or disable them entirely (common issue for some types of network mount).
Can you check that you have CIFS set up to allow permissions changes to files? If the drive sets ownership to a specific user, you can pass that user's UID to archivebox by setting the PUID environment variable in docker-compose.yml. If the drive sets permissions to a certain value (e.g. 700) you can set that value in OUTPUT_PERMISSIONS.
What filesystem does the underlying drive use? Can you share the CIFS or mount config?