[GH-ISSUE #166] /static/ directory not being served #127

Closed
opened 2026-02-25 21:31:16 +03:00 by kerem · 4 comments
Owner

Originally created by @lukyjay on GitHub (Oct 14, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/166

Originally assigned to: @ciur on GitHub.

Description
A fresh install of 1.5.0rc1 and there is no access to the /static/ directory. I am running as root and there are no permissions issues. The files exist.

Expected
Images and CSS in the web interface.

Actual
Log:
14/Oct/2020 09:23:18] "GET / HTTP/1.1" 200 14459 [14/Oct/2020 09:23:18] "GET /static/admin/css/all.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/css/icheck-bootstrap.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/css/papermerge.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/css/adminlte.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/jquery.min.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/bootstrap.bundle.min.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/papermerge.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/img/logo_bbg.svg HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/adminlte.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /jsi18n/ HTTP/1.1" 200 11964 [14/Oct/2020 09:23:18] "GET /static/admin/img/pre-loader/loader-03.svg HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/bootstrap.bundle.min.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/adminlte.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/papermerge.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/all.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/adminlte.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/icheck-bootstrap.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/papermerge.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:33] "GET /static/admin/css/icheck-bootstrap.min.css HTTP/1.1" 404 179

Info:

  • Server OS: Ubuntu 20.04 server (container in Proxmox)
  • Client OS: Ubuntu 20.04
  • Browser: Chrome
  • Database: SQLite
  • Papermerge Version: 1.5.0rc1 (using the built in server)
Originally created by @lukyjay on GitHub (Oct 14, 2020). Original GitHub issue: https://github.com/ciur/papermerge/issues/166 Originally assigned to: @ciur on GitHub. **Description** A fresh install of 1.5.0rc1 and there is no access to the /static/ directory. I am running as root and there are no permissions issues. The files exist. **Expected** Images and CSS in the web interface. **Actual** Log: `14/Oct/2020 09:23:18] "GET / HTTP/1.1" 200 14459 [14/Oct/2020 09:23:18] "GET /static/admin/css/all.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/css/icheck-bootstrap.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/css/papermerge.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/css/adminlte.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/jquery.min.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/bootstrap.bundle.min.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/papermerge.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/img/logo_bbg.svg HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/adminlte.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /jsi18n/ HTTP/1.1" 200 11964 [14/Oct/2020 09:23:18] "GET /static/admin/img/pre-loader/loader-03.svg HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/bootstrap.bundle.min.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/adminlte.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:18] "GET /static/admin/js/papermerge.js HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/all.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/adminlte.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/icheck-bootstrap.min.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:24] "GET /static/admin/css/papermerge.css HTTP/1.1" 404 179 [14/Oct/2020 09:23:33] "GET /static/admin/css/icheck-bootstrap.min.css HTTP/1.1" 404 179 ` **Info:** - Server OS: Ubuntu 20.04 server (container in Proxmox) - Client OS: Ubuntu 20.04 - Browser: Chrome - Database: SQLite - Papermerge Version: 1.5.0rc1 (using the built in server)
kerem 2026-02-25 21:31:16 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@ciur commented on GitHub (Oct 14, 2020):

Hi @lukyjay, can you please confirm that you are using official docker containers?
Please note that official docker container uses PostgreSQL database.

<!-- gh-comment-id:708291865 --> @ciur commented on GitHub (Oct 14, 2020): Hi @lukyjay, can you please confirm that you are using [official docker containers](https://hub.docker.com/repository/docker/eugenci/papermerge)? Please note that official docker container uses PostgreSQL database.
Author
Owner

@lukyjay commented on GitHub (Oct 14, 2020):

Hey @ciur

Not using docker. I followed the bare metal instructions within a Proxmox container running Ubuntu server

<!-- gh-comment-id:708307307 --> @lukyjay commented on GitHub (Oct 14, 2020): Hey @ciur Not using docker. I followed the bare metal instructions within a Proxmox container running Ubuntu server
Author
Owner

@ebertland commented on GitHub (Oct 21, 2020):

Are you using Apache with mod_wsgi? Or gunicorn with Nginx as proxy? Or some other combination?

<!-- gh-comment-id:713350077 --> @ebertland commented on GitHub (Oct 21, 2020): Are you using Apache with mod_wsgi? Or gunicorn with Nginx as proxy? Or some other combination?
Author
Owner

@lukyjay commented on GitHub (Oct 31, 2020):

Cannot get this to work. I deleted the container, started a new one and it's working now.

Are you using Apache with mod_wsgi? Or gunicorn with Nginx as proxy? Or some other combination?

I was just using the built in server.

<!-- gh-comment-id:719916224 --> @lukyjay commented on GitHub (Oct 31, 2020): Cannot get this to work. I deleted the container, started a new one and it's working now. > Are you using Apache with mod_wsgi? Or gunicorn with Nginx as proxy? Or some other combination? I was just using the built in server.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/papermerge#127
No description provided.