Milos Knezevic
Articles
-
How do I fix "fatal: the remote end hung up unexpectedly" while pushing from a GitLab pipeline to Upsun?
While pushing to Upsun git repository from our GitLab runner, the pipeline fails with the following error: fatal: the remote end hung up unexpectedly.The GitLab runner 8.9 introduced a new feature...
-
How can I forward my logs to Splunk?
Splunk recommended forwarder, Filebeat, and the Splunk Universal Forwarder expect a file system with write access to ship logs to their indexers. Upsun by design is set-up to host applications on a...
-
How to fail a build on failing unit tests
GoalEvery time a push is made, run all unit tests. If tests fail, the build should fail and not be deployed. AssumptionsDuring the build phase no services are available. That means only tests that ...
-
Compile your Python code to Pycache on Upsun
When the python interpreter executes python files, it compiles them to byte code and saves it as files in a directory called __pycache__ in the same directory as the code itself. You might have see...
-
How to set up and deploy a Frontity site on Upsun
GoalSet up and deploy a Frontity site to Upsun AssumptionsYou will need: An SSH key configured on your Upsun account Node.js installed on your machine Knowledge of Frontity ProblemsDeploying a hy...
-
How to upload big files in php?
To upload more than 65MB file on a PHP container. Assumptions You are running PHP ProblemsWhen you have a form where your clients upload a file they receive an error like the followingPOST Content-...
-
How do I serve some requests from a different PHP front controller?
In your .upsun.app.yaml, you’ll want to declare an additional location block for /api, and include the directory that it should reference in the root key and the front controller for the site in th...
-
Struggling to push to master?
After configuring your repo and you're encountering errors when pushing to masterError: the master source reference specifier does not match any reference Error: Unable to push references to 'xxe...
-
How do I use MongoDB with my Java app?
Java is one of the most popular programming languages in the MongoDB Community. For new users, it’s essential to provide an overview of how to work with the MongoDB Java driver at Upsun.Java has se...
-
How to transfer files between two different projects
GoalThe goal is to transfer files between two separate projects. AssumptionsYou will need two projects set up on Upsun: One project (undntpvafhdn4 in this guide) that acts as the data source. One p...