Open link in a new tab

Content

Expand project menu

[Solved] Viewing error

After installation of Open Project, the view is bad, I think is not loading CSS or JS.
What am I doing wrong? See the picture attached.

Message actions

Hello Douglas,

do you use the manual OpenProject installation or the installation via Packager

If you use the manual installation, did you run the following command?:

RAILS_ENV="production" bundle exec rake assets:precompile
Message actions

Hello!
In first place i try to run with package install, but i received erros about database password unmet dependencies.
after I tried manual installation. However follow the tutorial to CentOS 6, on a CentOS 7.
Maybe it was a mistake of mine, but I revised several times dependencies described the roteio, and all were satisfied but by running the command:
RAILS_ENV="production" bundle exec rake assets:precompile
Errors were reported. Searching this forum and elsewhere, I observed that a lot of people took issue with this command. Most of updates, then follow the manual upgrade, and noted that there were different instructions on environmental installation, follow the upgrade instructions and finally worked.
Perhaps the installation manual is incomplete or assumptions that not all Linux distributions implement.
For me, what was decisive was that part of the upgrade manual:

[openproject @ debian] # exit
[root @ debian] # apt-get install python python-pip
[root @ debian] # pip install nodeenv
[root @ debian] # su - -c openproject “bash -l”
[openproject @ debian] # cd / home / openproject
[openproject @ debian] # nodeenv nodeenv
[openproject @ debian] # source ./nodeenv/bin/activate
[openproject @ debian] # npm -g install bower

Thanks!

Douglas

Message actions

Hello Douglas,

thanks for your response.
Great to hear that your installation is working now.
It’s true that there have been a lot of changes to the dependencies (e.g. node, npm, bower).
We’ll make sure that the installation instructions are up to date - especially when OpenProject 5.0 is released.
Due to the large number of dependencies we generally recommend the packager installation since we can more easily resolve and debug errors occurring there.
FYI: There was an error in OpenProject 4.2.7 relating to the packager installation (OP-2268) which has been resolved in OpenProject 4.2.8.
If this is the error which prevented you from installing the packager version, this should no longer be an issue.

Best regards,
Robin