-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to login #61
Comments
Are you able to connect to Paperless in a browser at http://192.168.43.195:35176 ? What's the full url you're using? |
Also can't login with this url: http://192.168.43.195:8000/ |
#PAPERLESS_DEBUG=false #Required services #PAPERLESS_REDIS=redis://localhost:6379 #Paths and folders PAPERLESS_CONSUMPTION_DIR=/var/lib/paperless/consume #Security and hosting PAPERLESS_SECRET_KEY=54ebdb526aa23cfaff03804a6666a9a3 #OCR settings PAPERLESS_OCR_LANGUAGE=eng+afr #Software tweaks #PAPERLESS_TASK_WORKERS=1 #Tika settings PAPERLESS_TIKA_ENABLED=true #Binaries #PAPERLESS_CONVERT_BINARY=/usr/bin/convert #Uploads PAPERLESS_SCRATCH_DIR=/var/lib/paperless/uploads #Webserver GUNICORN_CMD_ARGS='--bind=127.0.0.1:8000' |
Does logging in with http://192.168.43.195:8000/ give the same Other people have fixed login errors by dropping the trailing slash, Also, if you know have a Single Sign On like Authelia, see this discussion |
With the browser nothing is found and in the paperless app was what I was trying to login with when I sent the error message. |
The Paperless App needs the Server URL to be exactly what works in the browser. A |
How can I find the correct URL? |
You need to use the IP address of the server with your paperless installation. Here are two examples I use: 1.Working in browser: https://paperless-demo.quinncasey.com/scan/dashboard <-- This url works in the browser 2Working in browser: http://192.168.1.8:8010/scan/dashboard Your server URL might be similar to 2 |
From my desktop on which Paperless is running bare metal:
Might try the Paperless Github, maybe something is misconfigured. |
Ah! In the last part of your paperless server config, try changing
to
then restart the paperless server. |
It worked kind of. |
Any clues in the logs? |
Unfortunately now nothing gets written to the logs. |
I'm thinking there might be something wrong with your config. I installed sudo -u paperless paperless-manage migrate
sudo -u paperless paperless-manage createsuperuser
sudo systemctl start paperless.target Edited the last line of # Have a look at the docs for documentation.
# https://paperless-ng.readthedocs.io/en/latest/configuration.html
# Debug. Only enable this for development.
#PAPERLESS_DEBUG=false
# Required services
#PAPERLESS_REDIS=redis://localhost:6379
#PAPERLESS_DBHOST=localhost
#PAPERLESS_DBPORT=5432
#PAPERLESS_DBNAME=paperless
#PAPERLESS_DBUSER=paperless
#PAPERLESS_DBPASS=paperless
#PAPERLESS_DBSSLMODE=prefer
# Paths and folders
PAPERLESS_CONSUMPTION_DIR=/var/lib/paperless/consume
PAPERLESS_DATA_DIR=/var/lib/paperless/data
PAPERLESS_MEDIA_ROOT=/var/lib/paperless/media
PAPERLESS_STATICDIR=/usr/share/paperless/static
#PAPERLESS_FILENAME_FORMAT=
# Security and hosting
#PAPERLESS_SECRET_KEY=change-me
#PAPERLESS_ALLOWED_HOSTS=example.com,www.example.com
#PAPERLESS_CORS_ALLOWED_HOSTS=http://example.com,http://localhost:8000
#PAPERLESS_FORCE_SCRIPT_NAME=
#PAPERLESS_STATIC_URL=/static/
#PAPERLESS_AUTO_LOGIN_USERNAME=
#PAPERLESS_COOKIE_PREFIX=
#PAPERLESS_ENABLE_HTTP_REMOTE_USER=false
# OCR settings
#PAPERLESS_OCR_LANGUAGE=eng
#PAPERLESS_OCR_MODE=skip
#PAPERLESS_OCR_OUTPUT_TYPE=pdfa
#PAPERLESS_OCR_PAGES=1
#PAPERLESS_OCR_IMAGE_DPI=300
#PAPERLESS_OCR_CLEAN=clean
#PAPERLESS_OCR_DESKEW=true
#PAPERLESS_OCR_ROTATE_PAGES=true
#PAPERLESS_OCR_ROTATE_PAGES_THRESHOLD=12.0
#PAPERLESS_OCR_USER_ARGS={}
#PAPERLESS_CONVERT_MEMORY_LIMIT=0
PAPERLESS_CONVERT_TMPDIR=/var/lib/paperless/tmp
# Software tweaks
#PAPERLESS_TASK_WORKERS=1
#PAPERLESS_THREADS_PER_WORKER=1
#PAPERLESS_TIME_ZONE=UTC
#PAPERLESS_CONSUMER_POLLING=10
#PAPERLESS_CONSUMER_DELETE_DUPLICATES=false
#PAPERLESS_CONSUMER_RECURSIVE=false
#PAPERLESS_CONSUMER_IGNORE_PATTERNS=[".DS_STORE/*", "._*", ".stfolder/*"]
#PAPERLESS_CONSUMER_SUBDIRS_AS_TAGS=false
#PAPERLESS_OPTIMIZE_THUMBNAILS=true
#PAPERLESS_POST_CONSUME_SCRIPT=/path/to/an/arbitrary/script.sh
#PAPERLESS_FILENAME_DATE_ORDER=YMD
#PAPERLESS_FILENAME_PARSE_TRANSFORMS=[]
#PAPERLESS_THUMBNAIL_FONT_NAME=
#PAPERLESS_IGNORE_DATES=
# Tika settings
#PAPERLESS_TIKA_ENABLED=false
#PAPERLESS_TIKA_ENDPOINT=http://localhost:9998
#PAPERLESS_TIKA_GOTENBERG_ENDPOINT=http://localhost:3000
# Binaries
#PAPERLESS_CONVERT_BINARY=/usr/bin/convert
#PAPERLESS_GS_BINARY=/usr/bin/gs
#PAPERLESS_OPTIPNG_BINARY=/usr/bin/optipng
# Uploads
PAPERLESS_SCRATCH_DIR=/var/lib/paperless/uploads
# Webserver
GUNICORN_CMD_ARGS='--bind=0.0.0.0:8000' After doing a This isn't a Paperless App issue at this point, so I'm going to close this and stop pinging the 14 watchers of this project 😄 lol. Reach out to me on gitter if you still are having trouble with your config after a system restart. |
I am unable to login.
Getting this error:
The text was updated successfully, but these errors were encountered: