Content
View differences
Updated by Dominic Bräunlein over 2 years ago
### Steps to reproduce
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
#### Package installation
1. Setup OpenProject behind prefix with the installation wizard (sudo openproject configure)
2. Login as Admin
3. Got a Project and try to create a Board
4. Open debug console of Browser to check loaded assets
5. refresh page
6. The Images a loaded from web root instead of the server prefix
Example: **/assets/frontend/assets/images/board\_creation\_modal/lists.svg** instead of **/op2/assets/frontend/assets/images/board\_creation\_modal/lists.svg** (look at screenshot)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/89822/content">
#### Docker compose installation
1. Setup openproject with following command: **SERVER\_PATH\_PREFIX=/op/ OPENPROJECT\_HTTPS=false OPENPROJECT\_RAILS\_\_RELATIVE\_\_URL\_\_ROOT=/op docker-compose up**
2. Login as admin
3. Got a Project and try to create a Board
4. Images are not shown at all
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/89824/content">
### What is the buggy behavior?
_Please describe the bug in as much detail as possible. Example:_
* assets are loaded without prefix
* in case of docker assets can't be loaded at all
### What is the expected behavior?
_Describe how the application should behave like. Example:_
1. Assets are loaded from the prefix instead of web root
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Tested on Debian but should effect all
* [x] Docker All-in-one container (not tested but should be the same as for compose here)
* [x] Docker-compose installation
* [ ] Other (please specify)
_Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:_
1. Setup OpenProject behind prefix with the installation wizard (sudo openproject configure)
2. Login as Admin
3. Got a Project and try to create a Board
4. Open debug console of Browser to check loaded assets
5. refresh page
6. The Images a loaded from web root instead of the server prefix
Example: **/assets/frontend/assets/images/board\_creation\_modal/lists.svg** instead of **/op2/assets/frontend/assets/images/board\_creation\_modal/lists.svg** (look at screenshot)
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/89822/content">
#### Docker compose installation
1. Setup openproject with following command: **SERVER\_PATH\_PREFIX=/op/ OPENPROJECT\_HTTPS=false OPENPROJECT\_RAILS\_\_RELATIVE\_\_URL\_\_ROOT=/op docker-compose up**
2. Login as admin
3. Got a Project and try to create a Board
4. Images are not shown at all
<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/89824/content">
### What is the buggy behavior?
* in case of docker assets can't be loaded at all
### What is the expected behavior?
### Environment information
_Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs_
**OpenProject installation type**
* [ ] Hosted cloud edition
* [x] Packaged installation
* Tested on Debian but should effect all
* [x] Docker All-in-one container (not tested but should be the same as for compose here)
* [x] Docker-compose installation
* [ ] Other (please specify)