Milos Knezevic
Articles
-
When does a variable require JSON formatting?
QuestionWhen providing environment variables, you have the option to provide JSON formatted values. What would be the deciding factor to create a JSON formatted variable? AnswerJSON formatted varia...
-
Installing WP Rocket (WordPress)
Assumptions: You already have a working site deployed on Upsun Your public/root directory is named wordpress Your wp-content directory is located at wordpress/wp-content You're using a Composer-b...
-
Java Memory commands
Java Heap space is used by the Java runtime to allocate memory to Objects and JRE classes. Whenever we create an object, it’s always created in the heap space. This post, we’ll explain to how to se...
-
How can I get information on the various Upsun regions?
For example, which ones are available, where are they, what IaaS infrastructure do they run on? You can use the Upsun API: upsun api:curl regions | jq '.regions[] | select(.available) | .id + ": "...
-
Deployment Issue: "Read-only file system: '/app/.global'"
The deploy hook is run after the app container has been started but before it has started accepting requests. Note that the deploy hook only runs on web instances, not worker instances.You can acce...
-
Failing deployment as environment is inactive
there are two kinds of environments: active and inactive when you push code to production (main/master) it will automatically become an active environment with a generated URL every branch you cre...
-
How to access Solr credentials on Upsun
GoalAccess credentials for Solr from within an Upsun application using Python.Assumptions an active Upsun project properly configured .upsun/config.yaml for the given service SSH key configured on...
-
Custom Domain Names and Let's Encrypt Certificates
When adding custom domains to your project, we'll attempt to issue a Let's Encrypt certificate and include all the new domains as Subject Alternative Names (SANs) on the certificate. This will all...
-
FAQ/Guidelines
This is a Civilized Place for Public DiscussionPlease treat this discussion forum with the same respect you would a public park. We, too, are a shared community resource — a place to share skills,...
-
Is there a way to fail a build when one of the build hooks throws an error?
By default, a build will only be considered a failure if the last command in the hook fails. To have any command failure cause the entire hook to fail, add set -e to the start of your build hook. ...