Adding Volumes: hostPath does not exist
-
Server log:
POST /api/v1/volumes 400 Bad Request hostPath does not exist. Please create it on the server first 6.257 ms - 107However, the path exists, is chown'ed to yellowtent and has permissions 777.
It's a filesystem - a secondary data drive (SSD HDD)
-
N nebulon marked this topic as a question on
-
Do you see any further logs around that in the box.logs / system logs when trying to add this volume?
-
Ah, I guess the error message could be more descriptive. Currently there is a hard-coded allowlist of paths on the filessystem to be used as volumes, to avoid accidents where someone might add system folders. The list is at https://git.cloudron.io/cloudron/box/-/blob/master/src/volumes.js#L57
-
N nebulon has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login