mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 20:15:58 +03:00
[GH-ISSUE #189] Import using IMPORTER_DIR throws exception "Papermerge has no users defined" #153
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @matthewdavis on GitHub (Oct 23, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/189
Originally assigned to: @ciur on GitHub.
Description
I try to import a file using the IMPORTER_DIR and get the error "Papermerge has no users defined"
I've built the docker images with the following papermerge.config.py
When I place a file in the docker mounted /import directory, a short time later the worker wakes up and attempts to import the file. Below are the logs from the worker
Expected
I expect the file to be imported.
Actual
It seems the file gets "imported" into a ghost area and disappears / deletes
Info:
I'm using the docker-compose included in git with modifications only to use local dirs instead of volumes.
@ciur commented on GitHub (Oct 23, 2020):
Hi @matthewdavis, thank you for opening this issue.
Can you please confirm that you have a superuser (i.e. Superuser Status is checked)?
Here is an example with screenshot where superuser exists.
@matthewdavis commented on GitHub (Oct 23, 2020):
This is a fairly fresh and (hopefully) standard install from the docker container. Did I miss a step to create a user? I'm using the initial admin/admin user. I don't see users/groups on my ui.
@maspiter commented on GitHub (Oct 26, 2020):
I got the same error, problem is the admin user is not created thoroughly hence why you don't see the users and groups menu items.
There is something not right with your volumes. Try deleting all data and recreating.
I'm using all three named volumes and overwrite only the 3 config files with custom values.
@maspiter commented on GitHub (Oct 28, 2020):
Ok, so after much testing and tuning I finally have a working version running.
Regarding the "no users" error. I believe you need to remove or comment the create_user.py line in one of the startup.sh scripts from either the app or the worker. Then the user gets created as it should.
A lot of other things missing in the puzzle though.