Milos Knezevic
Articles
-
How to manage your own Fastly configuration (custom VCL)
If your project utilizes an Upsun-provided Fastly CDN service, it comes pre-configured with basic optimizations and protections appropriate for your application type. However, if you need to add a...
-
Strapi constantly restarting in development environments (Restart Loop)
When tailing the logs of a Strapi application on a development environment, you may notice that the container is constantly trying to restart Strapi, even if the application UI appears to be runni...
-
502 error - Bad gateway
This almost always is an application issue. 502 is a catch-all for issues . Some of them listed below It's possible app is trying to write to a READ-ONLY file system. Or application is crashing ...
-
Fixing npm ERR! Exit status 137 during deployments
If your deployment fails during the build phase with an Exit status 137 (or Killed error Command failed with exit code 137 if using Yarn), it indicates that your build process has run out of memor...
-
Why does my deploy log say `No composer.lock file present` when I really do have a `composer.lock`?
I’m deploying a Drupal 8 or 9 site, and although things seem to work OK, my deploy log contains the confusing message:Changed current directory to /app/.global/composer/composer W: No composer....
-
Do redirects in `routes.yaml` file also show up in `PLATFORM_ROUTES`?
Is this even possible if I have many (thousands) of redirects since they would be stored in an environment variable?Yes, redirect routes still show in in the PLATFORM_ROUTES environment variable. T...
-
How to Migrate a Java Application to Upsun
Migrating a Java application (such as Spring Boot, Quarkus, or a standard Maven/Gradle project) to Upsun is straightforward. Instead of dealing with infrastructure provisioning, you define your ap...
-
How to use FTP to upload files
Upsun supports sftp, but the following limitations apply: You can only create sftp accounts with an existing Upsun user and an SSH key. Custom users and passwords aren’t supported. sftp access ...
-
How to install Pyodbc and connect to MS SQL (FreeTDS & unixODBC)
When deploying a Python application (such as Django) that needs to connect to a Microsoft SQL Server database, you typically use the pyodbc library. However, pyodbc requires underlying OS-level de...
-
How to forward logs to a Splunk Indexer
You can forward your Upsun application and service logs directly to Splunk without installing any custom agents or modifying your container's file system. Upsun features a native log forwarding in...