404 Permission matching query does not exist after migration #6437
-
I recently migrated my working Paperless-ngx 2.7.2 docker stack from a Docker stack on a standalone AMD64 Linux server to my new Synology NAS, still as a docker stack. I did nothing fancy here. I did a clean install of the Paperless-ngx 2.7.2 stack - I use MariaDB. I used "docker compose exec -T webserver document_exporter ../export" and document_importer in the same way on my Synology NAS. It all seemed to work fine. I logged in to Paperless using the same user as before and I can see everything looks ok, but if I try to open/edit a document by double clicking or choosing edit I get 404 error. The log shows:
I can "view" any document OK, but I am using an administrator userid. I saw another report of a similar issue on an older Paperless where the 'consume' userid was the issue, but that userid exists - given I cannot create it, so that is not the issue here. Any ideas how I can get this back working correctly ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Never mind -- user error. I created a superuser with the same name as a user that existed in the old repository. There were warnings about an existing user on import, but I thought it didn't matter: wrong ! Keep the superuserid separate. |
Beta Was this translation helpful? Give feedback.
-
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |
Beta Was this translation helpful? Give feedback.
Never mind -- user error. I created a superuser with the same name as a user that existed in the old repository. There were warnings about an existing user on import, but I thought it didn't matter: wrong ! Keep the superuserid separate.
I recreated my stack and re-imported and it's all good now.