jonaswinkler / paperless-ng

A supercharged version of paperless: scan, index and archive all your physical documents
https://paperless-ng.readthedocs.io/en/latest/
GNU General Public License v3.0
5.37k stars 355 forks source link

Setup without docker-compose (unraid) #114

Closed ministryofsillywalks closed 3 years ago

ministryofsillywalks commented 3 years ago

I'm trying to get paperless-ng running on an unraid server. Unraid doesn't come with docker-compose so I went about setting up the docker image using unraids docker templates. This worked great however I now have the image running but need to create a superuser. As far as I can tell this can only be achieved with the docker-compose run --rm webserver createsuperuser command. Is there any other way to setup the superuser? Unraid allows me to docker exec -it paperless-ng sh into the container. But none of the commands work here. I also need to docker-compose run --rm webserver document_index reindex to reindex my existing files from paperless.

EDIT: nevermind solved it. To anyone looking for a solution. Open the console from the unraid docker page. Make ./manage-py executable chmod +x manage.py then run ./manage.py createsuperuser

jonaswinkler commented 3 years ago

Be advised that without using the docker-compose service description, you will need to provide a redis server by yourself and point paperless towards that server by configuring the relevant environmental variables.

ministryofsillywalks commented 3 years ago

Yeah I did all that manually. Postgres was already running anyway. Pretty straight forward except the createsuperuser. Just thought I'd leave the issue up as unraid is pretty popular and this fork probably should replace most peoples paperless setups soon ;)

jonaswinkler commented 3 years ago

Huh, okay. I don't know about unRaid, I still do pretty much everything on plain debian installations and just recently started messing with this docker stuff. Maybe I need to put some information into the documentation about installations without docker-compose.

jonaswinkler commented 3 years ago

Also, for future reference.

https://github.com/selfhosters/unRAID-CA-templates/pull/190

Tooa commented 3 years ago

@ministryofsillywalks paperless-ng is now available via Unraids community application store. I also created a call-for-testing in the paperless support thread here.