Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Docker with subdirectory: wrong javascript URL

Docker with subdirectory: wrong javascript URL

Added by David Masshardt over 4 years ago

I've just tried to setup the OpenProject Docker container using the environment variable -e OPENPROJECT_RAILS__RELATIVE__URL__ROOT=/openproject but now I have the problem that some javascript libraries are not loaded anymore. In the debug console of my browser I get this error:

GET http://172.17.2.17:5700/openproject/openproject/assets/frontend/156.7dd1d4cc6c2efeb06950.js net::ERR_ABORTED 404 (Not Found)

The problem seems to be that /openproject is doubled in this URL. The URL should be http://172.17.2.17:5700/openproject/assets/frontend/156.7dd1d4cc6c2efeb06950.js. What am I doing wrong here? I can see other asset Url's that are correct. Only some js files to not get loaded.


Replies (2)

RE: Docker with subdirectory: wrong javascript URL - Added by David Masshardt over 4 years ago

Does no one else have this problem? I now also have the problem that I "openproject" is put 3 times in the link.

RE: Docker with subdirectory: wrong javascript URL - Added by David Masshardt over 4 years ago

I found a bug that could be the same problem I'm having. (Bug #35775)

  • (1 - 2/2)
Loading...