You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commands need root permission in Dockerfile-build of the project using MicroProfile framework #27
This is a known issue with the Liberty docker container, and we are actively pursuing a fix for this. In the meanwhile, your work around adding: USER root to the application's Dockerfile-build will work.
@johnmcollier
It sounds good.
Let me know it when the issue is fixed.
FYI. actually I had to add "USER root" to Dockerfile, not Dockerfile-build. The reason is that the command "RUN /opt/ibm/wlp/usr/extension/liberty_dc/bin/config_liberty_dc.sh" can be executed with root permission in Dockerfile generated by Microclimate.
Hello Guys, I was having the same issue and the addition of the USER root now fixed the permission errors I was seeing but now the import stop in the following message, Any idea?[ERROR Thu Nov 1 02:28:03 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
[ERROR Thu Nov 1 02:28:05 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
[ERROR Thu Nov 1 02:28:07 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
[ERROR Thu Nov 1 02:28:09 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
Activity
johnmcollier commentedon Oct 31, 2018
Hi @EunKyung-Kim,
This is a known issue with the Liberty docker container, and we are actively pursuing a fix for this. In the meanwhile, your work around adding:
USER rootto the application's Dockerfile-build will work.EunKyung-Kim commentedon Oct 31, 2018
@johnmcollier
It sounds good.
Let me know it when the issue is fixed.
FYI. actually I had to add "USER root" to Dockerfile, not Dockerfile-build. The reason is that the command "RUN /opt/ibm/wlp/usr/extension/liberty_dc/bin/config_liberty_dc.sh" can be executed with root permission in Dockerfile generated by Microclimate.
adcassi commentedon Nov 1, 2018
Hello Guys, I was having the same issue and the addition of the USER root now fixed the permission errors I was seeing but now the import stop in the following message, Any idea?[ERROR Thu Nov 1 02:28:03 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
[ERROR Thu Nov 1 02:28:05 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
[ERROR Thu Nov 1 02:28:07 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
[ERROR Thu Nov 1 02:28:09 UTC 2018 | Project: FileWatcher | File Name: /server/dist/controllers/projectsController.js | Function Name: getProjectInfoFromFile | Line Number: 631] Failed to find project information related to file /fwdata/projects/e73ae220-d7d2-11e8-99c8-eb2f635c11f0/e73ae220-d7d2-11e8-99c8-eb2f635c11f0.json
adcassi commentedon Nov 1, 2018
Hello,
I did load the latest version of Rogue and now it is running fine. Thanks.