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
After reviewing the application in regards to openshift integration, I have found a major issue. The application, after being 'git pushed', creates numerous directories and files in $OPENSHIFT_REPO_DIR (aka ~/app-root/runtime/repo). It creates a 'www' directory where configuration, images, and more appear to be stored.
When using the 'snapshot' feature on Openshift, a backup is taken of the application. However, the current state of $OPENSHIFT_REPO_DIR is not copied. OpenShift expects no changes to be made in $OPENSHIFT_REPO_DIR that need to be persistent. Any persistent changes should be placed in $OPENSHIFT_DATA_DIR (aka ~/app-root/runtime/data). Please see the environment variable page for a bit more information.
I tried to fix this myself by just creating these directories in $OPENSHIFT_DATA_DIR and placing symlinks to them in $OPENSHIFT_REPO_DIR. However, your application does more than is immediately obvious to me. My efforts can be found on my fork. Using this, the application appears to deploy successfully but nothing is created in the www directory.
The text was updated successfully, but these errors were encountered:
After reviewing the application in regards to openshift integration, I have found a major issue. The application, after being 'git pushed', creates numerous directories and files in $OPENSHIFT_REPO_DIR (aka
~/app-root/runtime/repo
). It creates a 'www' directory where configuration, images, and more appear to be stored.When using the 'snapshot' feature on Openshift, a backup is taken of the application. However, the current state of $OPENSHIFT_REPO_DIR is not copied. OpenShift expects no changes to be made in $OPENSHIFT_REPO_DIR that need to be persistent. Any persistent changes should be placed in $OPENSHIFT_DATA_DIR (aka
~/app-root/runtime/data
). Please see the environment variable page for a bit more information.I tried to fix this myself by just creating these directories in $OPENSHIFT_DATA_DIR and placing symlinks to them in $OPENSHIFT_REPO_DIR. However, your application does more than is immediately obvious to me. My efforts can be found on my fork. Using this, the application appears to deploy successfully but nothing is created in the
www
directory.The text was updated successfully, but these errors were encountered: