brysontyrrell / PatchServer

A self-hosted implementation of an external patch source for Jamf Pro 10.2+
http://patchserver.readthedocs.io/en/latest/
MIT License
67 stars 13 forks source link

Documentation Missing #34

Closed krispayne closed 3 years ago

krispayne commented 3 years ago

https://patchserver.readthedocs.io/en/latest/

There's no documentation here anymore

brysontyrrell commented 3 years ago

@krispayne Documentation has moved into the repository. https://github.com/brysontyrrell/PatchServer/blob/develop/README.md

krispayne commented 3 years ago

I see.

I migrated over to the docker method and was curious what permissions should be on the persistent storage path, but I don't see that in the documentation.

Specifically, I'm getting (sqlite3.OperationalError) attempt to write a readonly database so I assumed it was permissions, but the persistent storage is owned by root (0:0) so I figured the docker container would see it correctly, so maybe it's a sqlite issue and not docker persistent storage/permissions issue?

This is the same DB I was previously using as a standard wsgi install, so maybe that has something to do with it

krispayne commented 3 years ago

Ah, it's probably the randomly generated secret for the db. The docker config doesn't know the old config. I suppose the solution is to create a new persistent storage directory and import from a database backup?

krispayne commented 3 years ago

This is what I ended up doing, I recreated everything and it's working well.