mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[GH-ISSUE #534] Bad Gateway with provided docker-compose.yml #413
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#413
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 @KolbeinNL on GitHub (Mar 9, 2023).
Original GitHub issue: https://github.com/ciur/papermerge/issues/534
Originally assigned to: @ciur on GitHub.
In case you experience issues with docker image provided by linuxserver.io/papermerge, please open bug report in their repository.
Description
After using the provided docker-compose.yml I can access the login screen but after pressing login button I see bad gateway in the network tab
Expected
Expected to see the home screen
Actual
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Info:
@KolbeinNL commented on GitHub (Mar 9, 2023):
docker-compose.yml.txt
The docker-compose
@homehtha commented on GitHub (Mar 10, 2023):
I have the same error...
In traefik log I have:
time="2023-03-10T08:06:34Z" level=error msg="service "ws-server-pmerg" error: port is missing" providerName=docker container=ws-server-pmerg-f05207fa4c8481724a36c2327e4c78c9ea896e6087852a252099dd2347e12199
time="2023-03-10T08:06:34Z" level=error msg="service "frontend-pmerg" error: port is missing" container=frontend-pmerg-a05b72541bb69f2236db3b3a790c13752ef1d655c8e93b78f42d3f3763511371 providerName=docker
time="2023-03-10T08:06:34Z" level=error msg="service "backend-pmerg" error: port is missing" providerName=docker container=backend-pmerg-f70fc8928519e596a04c8f4112d34e948342e7538fc4d94b54f422ff8442a537
@homehtha commented on GitHub (Mar 10, 2023):
PS. I put traefik at :81 port (otherwise it closes immediately - because port is taken)
@ciur commented on GitHub (Mar 10, 2023):
It may be the case that for some reason administrative user (admin a.k.a superuser) was either not created or it was created without home/inbox folders.
In order to check that admin user was created and has both home and inbox folders, please do following:
Inside container run following commands to enter Django shell (inside /app folder):
Inside django shell check if administrative user exists and has both home_folder and inbox_folder:
Here is an example of Django shell session:
In above example you see that admin user was found (otherwise User.objects.get will throw an exception) and
it contains both
home_folderandinbox_folder- you can see their UUIDs and titles.In order to help with further troubleshooting, please provide logs of all papermerge/papermerge (backend, worker and websockets server) docker containers
@acaciochinato commented on GitHub (Mar 11, 2023):
I'm having the same issue, both
home_folderandinbox_folderare created.@ciur commented on GitHub (Mar 11, 2023):
See #537