openshift

Git Install Script How to enter shell command

做~自己de王妃 提交于 2019-12-30 10:32:49
问题 This is more of a git related question than openshift. When I push files to the git server using git, I see that the file permissions of my perl index.cgi file gets changed to 700 in my openshift repo. Hence every time I do a push, I have to log in to the server using ssh and do a chmod a+x index.cgi in my $OPENSHIFT_REPO_DIR to change it to 755. I read in the git documentation it is possible to add a hook and I tried updating the post update script in the hooks directory with the following

Git Install Script How to enter shell command

我们两清 提交于 2019-12-30 10:32:38
问题 This is more of a git related question than openshift. When I push files to the git server using git, I see that the file permissions of my perl index.cgi file gets changed to 700 in my openshift repo. Hence every time I do a push, I have to log in to the server using ssh and do a chmod a+x index.cgi in my $OPENSHIFT_REPO_DIR to change it to 755. I read in the git documentation it is possible to add a hook and I tried updating the post update script in the hooks directory with the following

Git Install Script How to enter shell command

一笑奈何 提交于 2019-12-30 10:32:34
问题 This is more of a git related question than openshift. When I push files to the git server using git, I see that the file permissions of my perl index.cgi file gets changed to 700 in my openshift repo. Hence every time I do a push, I have to log in to the server using ssh and do a chmod a+x index.cgi in my $OPENSHIFT_REPO_DIR to change it to 755. I read in the git documentation it is possible to add a hook and I tried updating the post update script in the hooks directory with the following

Java SSL DH Keypair Generation - Prime Size Error

醉酒当歌 提交于 2019-12-30 04:50:11
问题 I'm currently implementing Reddit OAuth2 login into my web app. The handshake and token exchange work fine when testing locally but when running on the server (hosted on 'OpenShift' DIY cartridge) I get the following error: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive) Which is results in java.lang.RuntimeException: Could not generate DH keypair I've been searching most of the day and have found different

Install python packages on OpenShift

痞子三分冷 提交于 2019-12-28 06:47:14
问题 I'm trying to install python packages on OpenShift but I see a dearth of pages about the best way to do this. Can someone please suggest the best way of getting on say oauth2 and simplejson . I've tried including these in the setup.py , but I have no idea whether these are actually available or I'll have to upload and point to the path. How can I do this? 回答1: Did you install rhc (made by OpenShift.com) ? If not then see on OpenShift.com: Installing OpenShift RHC Client Tools Now you can

Pip install failed in openshift 3

久未见 提交于 2019-12-25 18:31:13
问题 I want to use the new platform Openshift 3 but I can't install lxml for Weblate with pip when build process is launch. In logs the last line is " Running setup.py install for lxml " but no more error How can I found what happened ? Thanks 回答1: Some of the packages around data analytics when compiled with compiler optimisations can chew up too much memory and hit the default memory limit for builds. Try following steps outlined in: Pandas on OpenShift v3 Is less likely, but just in case is the

Error starting spring boot openshift application: Unable to start embedded Tomcat

♀尐吖头ヾ 提交于 2019-12-25 16:43:33
问题 I have used this link to create a DIY app with tomcat 8 & springboot. I modified the code from the above link to make it access mongodb instead of postgres. I have been banging my head to trying figuring out to start the sample application. Can anyone help me with this error. .openshift/action_hooks/deploy #!/bin/bash set -x if [ ! -d $OPENSHIFT_DATA_DIR/m2/repository ] then mkdir -p $OPENSHIFT_DATA_DIR/m2/repository fi if [ ! -d $OPENSHIFT_DATA_DIR/logs ] then mkdir -p $OPENSHIFT_DATA_DIR

in Openshift environment, how to access a database in a different application?

[亡魂溺海] 提交于 2019-12-25 14:25:56
问题 I have been trying to access a mysql in a jboss eap application from a wordpress application in Openshift environment. I followed this blog post on this subject and prepared a php file on the wordpress server with $dbhost, $dbuser, $password point to the database in my jbosseap app. Unfortunately, it did not work. Each time I got a "no route to host" error. However, if I point the database to that in the wordpress app, i.e. local database, it worked perfectly. I am wondering if there must be

gitlab-ce on openshift origin 3.7.0-alpha (fedora 26) fails to start

a 夏天 提交于 2019-12-25 11:59:47
问题 After following the below-linked directions on creating a gitlab instance using a self hosted openshift origin 3.7.0-alpha on fedora 26, I'm getting this on the gitlab-ce pod. I've tried deleting and redeploying the pod, and my best google-fu, but still no luck figuring out what the problem is or how to further troubleshoot it. I am able to successfully deploy jenkins using the default provided template. Directions - https://about.gitlab.com/2016/06/28/get-started-with-openshift-origin-3-and

Blank page opening after running a project in openshift

江枫思渺然 提交于 2019-12-25 10:29:29
问题 I have deployed a web application in openshift. Although build and deployment was successful, I am getting a blank page on clicking the application : http://adoreindia-adoreindia.a3c1.starter-us-west-1.openshiftapps.com/ Below is the pom.xml. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>org