Replies: 3 comments 2 replies
-
Are you storing MariaDB data on a remote network volume? |
Beta Was this translation helpful? Give feedback.
0 replies
-
It's a share on the local network. 10 gb/s connection between the Proxmox host and the file server, with one hop over a switch. |
Beta Was this translation helpful? Give feedback.
2 replies
-
Solved by storing the DB on the VM instead of on a network share. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Brand new VM
I've mapped CIFS network shares (via fstab) to the VM for the original images (/media/pictures), photoprism's working directory (/media/photoprism/storage), and MariaDB (/media/photoprism/mariadb). Verified that the VM can access originals as read-only, and the other paths as RW.
From fstab
Got the docker-compose.yml file from photoprism's website, made a few changes (mostly to the storage paths). Full yaml below at bottom of post.
When I fire up the docker-compose containers (
sudo docker-compose up -d
), I get a ton of errors for MariaDB not being able to change file permissions. ~100 errors, but they're very repetitive, so I've only copied over a couple.36mmariadb_1 0m 2024-05-03T18:29:55.052265707Z ERROR 32 (HY000) at line 825: Can't change permissions of the file './sys/version.frm-' (Errcode: 1 "Operation not permitted")
36mmariadb_1 0m 2024-05-03T18:29:55.052294591Z ERROR 32 (HY000) at line 2306: Can't change permissions of the file './sys/schema_object_overview.frm-' (Errcode: 1 "Operation not permitted")
36mmariadb_1 0m 2024-05-03T18:29:55.052313206Z ERROR 32 (HY000) at line 2325: Can't change permissions of the file './sys/schema_auto_increment_columns.frm-' (Errcode: 1 "Operation not permitted")
36mmariadb_1 0m 2024-05-03T18:29:55.052327613Z ERROR 32 (HY000) at line 2373: Can't change permissions of the file './sys/x@0024schema_flattened_keys.frm-' (Errcode: 1 "Operation not permitted")
36mmariadb_1 0m 2024-05-03T18:29:55.052363621Z ERROR 32 (HY000) at line 2398: Can't change permissions of the file './sys/schema_redundant_indexes.frm-' (Errcode: 1 "Operation not permitted")
When I look in
/media/photoprism/mariadb
, a bunch of directories and files were created. So the process clearly has write permissions.Any idea what's going wrong?
Beta Was this translation helpful? Give feedback.
All reactions