mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #17] Error when browsing to http://localhost:8000 #10
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#10
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 @bg1000 on GitHub (May 20, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/17
Tried this on Ubuntu 20.04
Docker version 19.03.9, build 9d988398e7
docker-compose version 1.25.5, build 8a1c60f6
Setup using these instructions: https://papermerge.readthedocs.io/en/latest/installation/docker.html
Chose to pull from docker hub rather than build locally
The first error from
docker-compose logs appis the following:Internal Server Error: /admin/login/ papermerge_service | Traceback (most recent call last): papermerge_service | File "/usr/local/lib/python3.7/dist-packages/django/db/backends/utils.py", line 86, in _execute papermerge_service | return self.cursor.execute(sql, params) papermerge_service | psycopg2.errors.UndefinedTable: relation "django_site" does not exist papermerge_service | LINE 1: ..."django_site"."domain", "django_site"."name" FROM "django_si... papermerge_service |http://localhost:8000 shows the following:
@bg1000 commented on GitHub (May 20, 2020):
Built this locally and it runs without error.
The docs show the command for this as
docker-compose up --build -f docker-compose-dev.yml -dThis does not work, alteast with the version of docker-compose I am running. This does work.
docker-compose -f docker-compose-dev.yml up --build -d@ciur commented on GitHub (May 21, 2020):
Thank you for reporting this issue. I will need to remove all my local docker images and try to run it all anew from docker hub.
@bg1000 commented on GitHub (May 21, 2020):
No problem and thanks for sharing your work. I am going to close this now that you are aware.
@ciur commented on GitHub (May 22, 2020):
First Issue: Pulling from Remote
I purged all my local docker images with command:
Next, as per documentation:
And it worked: service is up and running (only 3 docker images which were downloaded few min ago.):
Second Issue: about Wrong Docker Command
You are absolutely right. I corrected the documentation.
Thank you for taking time and opening the issue!