Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP-JSON7 missing in umpleonline docker image. #1451

Open
Gordonei opened this issue May 9, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@Gordonei
Copy link

commented May 9, 2019

Specify a Brief Description

Brief, one or two sentences explaining the problem.

When running the umple/umpleonline docker image, I get the following error in the container logs:

PHP message: PHP Fatal error:  Uncaught Error: Call to undefined function json_decode() in /var/www/scripts/tab_control.php:125

Give the minimum Steps to Reproduce

  1. Create container running umple/umpleonline
  2. Select one of the examples in the WUI.
  3. Observe the nginx access logs (docker logs <container name>)

Describe the expected result that didn't happen

The example didn't load.

Actual Result

Just get the loading "spinning wheels" in the WUI.

Resolution

Workaround

Run apk add php7-json inside the container, and restart.

Permanent fix

Add php7-json to Dockerfile

@TimLethbridge

This comment has been minimized.

Copy link
Member

commented May 16, 2019

I have added php7-json to umpleonline/Dockerfile-base in PR #1455. I will The base is normally only created during a 'release'. I intend to do a release in the next week, that should clear this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.