Open rogierpijpers opened 6 years ago
Might be just me... but rebuilding the docker image worked for me.
@rogierpijpers do you mean that when you pulled the docker image of version 0.12.0 from docker registry, there was an issue; and when you rebuilt docker image from the github, the issue resolved? There have been new docker image in the docker registry, would you like to try again?
I have the same problem when trying to build the engine.json
. Actually when I ask for scala -version
command is not found.
I had the same issue.
The problem was in permissions. I downloaded the engine template to the /
root folder. Checked permissions for files and folders via ls -l
. Pio user had read and write privileges for Predictionio folder, but not for MyRecommendation folder where the engine template is located. Here is the output of ls -l
=>
drwxr-xr-x 6 root root 4096 May 26 11:49 MyRecommendation
drwxr-xr-x 1 pio pio 4096 May 26 17:21 PredictionIO-0.12.0-incubating
Solution
Download the engine template into PredictionIO-0.12.0-incubating folder (for user pio
to have read write privileges). Next, inside /PredictionIO-0.12.0-incubating/MyRecommendation
folder run pio build
Thanks a lot for your solution @nurnisi
When I follow the quickstart example for similar product in the 0.12.0 version docker container, I get