plantuml / plantuml-server

PlantUML Online Server
https://plantuml.com/
GNU General Public License v3.0
1.65k stars 472 forks source link

Unable to use built image from docker-compose.yml like stated in the readme to change the base url: docker-entrypoint.sh: 93: /generate-jetty-start.sh: not found #190

Closed Boldie closed 1 year ago

Boldie commented 2 years ago

Using the shipped docker-compose.yml from this repository to change the BASE_URL to something else like it is described in the readme, the final container would not start anymore and gives the following error:

> docker-compose up
Creating network "plantuml_default" with the default driver
Creating plantuml-server ... done
Attaching to plantuml-server
plantuml-server    | /docker-entrypoint.sh: 93: /generate-jetty-start.sh: not found
plantuml-server exited with code 127
HeinrichAD commented 2 years ago

Hi could you please check if the problem still exists? Yesterday, after you created this issue, there was an update through PR #193.

I tried to reproduce your issue with the current version but unfortunately (or maybe not) it working for me.

What I did was:

  1. clone the repository
  2. docker-compose up (no problems)
  3. checked via: http://localhost:8080/plantuml (worked)
  4. stop docker-compose
  5. changed environment variable BASE_URL to test inside docker-compose.yml
  6. docker-compose up (no problems)
  7. checked via: http://localhost:8080/test (worked)

I am using:

Note: The changes from yesterday are currently not pushed to docker hub. They will come with the next version.

If you still have the same error, could you please try to remove local plantuml docker images or add the --build flag behind docker compose (docker-compose up --build).