mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[GH-ISSUE #1610] Support: v0.7.2 cant store data/index.sqlite3 on SMB drive #2473
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#2473
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 @mmhussain-aankoop on GitHub (Dec 6, 2024).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/1610
Originally assigned to: @pirate on GitHub.
Provide a screenshot and describe the bug
I am currently running ArchiveBox version 0.7.2 on my Ubuntu machine and have encountered an issue when initializing ArchiveBox in a directory mounted to an SMB share. The initialization fails with the following error:
However, when I initialize ArchiveBox in a directory located on the local hard disk of the same machine, it works as expected without any issues.
Here are the key details of my setup:
SMB Share: Mounted to /home/archivebox/data
Local Directory (Working): /home/archivebox/data1
Operating System: Ubuntu 22.04
Steps to reproduce
Logs or errors
ArchiveBox Version
How did you install the version of ArchiveBox you are using?
pip
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/CIFS/etc.)data/is on a FUSE mount (e.g. SSHFS/RClone/S3/B2/OneDrive, etc.)Docker Compose Configuration
ArchiveBox Configuration
@pirate commented on GitHub (Dec 6, 2024):
You cannot store the
index.sqlite3file on an SMB share as SMB shares do not support the multi-writer consistency guarantees needed for SQLite WAL-mode to work. https://sqlite.org/draft/useovernet.htmlYou can store
data/archiveon the SMB share, butdata/index.sqlite3must be an a local drive.https://github.com/ArchiveBox/ArchiveBox/wiki/Setting-Up-Storage#supported-remote-filesystems
@mmhussain-aankoop commented on GitHub (Dec 12, 2024):
This works. Thanks for your help
@Sharpie commented on GitHub (Jan 9, 2025):
Mounting the SMB share with
nobrl, which disables Byte Range Locking also works. This is somewhat risky, but in my case it feels like a fit because:StatefuSetusing volumes inReadWriteOncePodaccess mode.