Questions tagged [platform.sh]

Platform.sh is a second-generation Platform-as-a-Service built especially for continuous deployment. It allows you to host web applications in the cloud while the configuration is driven almost entirely by a small number of YAML files in your Git repository.

Platform.sh is a second-generation Platform-as-a-Service built especially for continuous deployment. It allows you to host web applications on the cloud while making your development and testing workflows more productive.

If you're new to Platform.sh, we recommend starting with the Big Picture, in particular Structure, and Build & Deploy will get you started on the right track to best leverage Platform.sh.

The main requirement of Platform.sh is that you use Git to manage your application code. Your project's configuration is driven almost entirely by a small number of YAML files in your Git repository. The Configuration section covers those in more detail and can serve as both tutorial and quick-reference.

Platform.sh supports a number of different programming Languages and environments, and it features recommended optimizations for a number of Featured Frameworks.

Finally, you can also get tips for setting up your own Development workflow and Administering your Platform.sh account.

15 questions
2
votes
1 answer

ddev get drud/ddev-platformsh configuration - error when generating needed environment variables on MacOS

I'm encountering an issue with undefined project variables following the installation steps outlined here: https://github.com/drud/ddev-platformsh#install Steps 1-3 were smooth, with no issues. On step 4 ddev get drud/ddev-platformsh, the script…
scaffolding
  • 153
  • 2
  • 13
2
votes
1 answer

Opcache Preloading with Symfony 5.4 / PHP8 / Platform.sh

I am attempting to set up Opcache Preloading on Symfony 5.4 running on PHP8 at Platform.sh, and running into a fatal error. Configuration Necessary pieces included: // platform.app.yaml ... variables php 'opcache.preload':…
Robert Wade
  • 4,918
  • 1
  • 16
  • 35
2
votes
1 answer

Accessing InfluxDB on Platfrom.sh

Currently I'm trying to connect to a InfluxDB hosted on Platform.sh without any luck. I followed the setup instruction described on https://docs.platform.sh/configuration/services/influxdb.html. After these steps the service was available on…
chrigu
  • 816
  • 1
  • 7
  • 22
1
vote
1 answer

How to setup Ratchet Websocket server for production for Symfony 6 app on platform.sh

I am trying to setup a Ratchet Websocket server on my Symfony 6 app for production environment on platform.sh Didn't find any reliable documentation about the subject, I have several questions : According to…
1
vote
0 answers

How to read Variables from platform.sh on Gatsby site at build time

I am working on a gatsby site. In that I have to get configuration related values from variables which are declared in platform.sh variable. I have tried following approach to read value from platform.sh: const { env } = process; // Utility…
1
vote
1 answer

502 Bad Gateway on platform.sh with rails 6 app + unicorn

I've deployed my rails 6 application on platform.sh the deployment was successful, but I have a 502 error on home page. 502 Bad Gateway I think that the migration or the database creation fails. I contacted the support, and the answer doesn't…
1
vote
1 answer

Elasticsearch throwing http method exceptions. Symfony 4.4 on Platform.sh

I'm using the FOS Elasticsearch bundle on Symfony 4.4 on Platform.sh and any attempt to populate results in error. Relevant config pieces: composer.json "require": { "php": ">=7.3.0", ... "friendsofsymfony/elastica-bundle":…
Robert Wade
  • 4,918
  • 1
  • 16
  • 35
0
votes
1 answer

How do I access Drupal's admin panel?

This might be a weird question, but I'm with an agency that just took over a website that was built on platform.sh and Drupal 9. The previous agency is having zero communications with the client, and the client knows nothing of how Drupal works -…
billyc
  • 41
  • 5
0
votes
2 answers

why webpack/encore symfony adds public/build in gitignore?

I have webpack/encore installed on my symfony project. public/build has been added to gitignore but when I deploy on a PaaS like platform.sh, without this folder, my website design is broken. Should I remove public/build folder from gitignore…
Nina
  • 101
  • 1
  • 12
0
votes
2 answers

Error: Commit and push configuration files to Platform.sh

enter image description here I tried this, but there's an error enter image description here Error message says No .platform/services.yaml file found in the repository. No .platform/routes.yaml file found in the repository. enter image description…
0
votes
1 answer

more accurately reproduce platform.sh NodeJS envs on local?

Our team has a home-grown docker image, but too many details slip through the cracks. We've not successfully covered all the bases quite yet. Does anyone have a setup (DDEV or similar would be particularly useful) to match Platform.sh NodeJS…
Kay V
  • 3,738
  • 2
  • 20
  • 20
0
votes
2 answers

Composer/Symfony: dependency issues

Context I'm currently working on an OroPlatform project, which is based on Symfony 4.4 and deployed on Platform.sh. I'm facing the following issue during the build phase of the deployment: My app needs the package symfony/process 4.4.X I don't know…
Louis Bertin
  • 552
  • 2
  • 12
0
votes
1 answer

Missing encryption key to decrypt file with.Ask your team for your master ... it in the ENV['RAILS_MASTER_KEY']. Platform.sh Deployment aborting,

ERROR MESSAGE: W: Missing encryption key to decrypt file with. Ask your team for your master key and write it to /app/config/master.key or put it in the ENV['RAILS_MASTER_KEY']. when deploying my project on Platform.sh, the operation failed because…
0
votes
1 answer

Non RFC compliant ajax request

We are using a akeneo/pim-community-dev installation in version 1.6.23. We are hosting this instance on platform.sh. Since platform has updated their WAF, we now can't update large datasets because the ajax request is invalid. The support of…
PaperCoder
  • 11
  • 5
-1
votes
1 answer

How to access platfrom.sh data from Command line interface, setup process?

I want to access all Platform.sh data from command line interface, any Platform.sh users can you pls help me how to setup the process. How to access project user access list using command line interface How to use below script in cmd : p user:list…
Gem
  • 126
  • 1
  • 2
  • 18