Giter Site home page Giter Site logo

Comments (6)

OriPekelman avatar OriPekelman commented on July 23, 2024

Is this insufficient ?
https://docs.platform.sh/user_guide/reference/platform-app-yaml.html#name

... and what we have here: https://docs.platform.sh/user_guide/reference/platform-app-yaml-multi-app.html

from platformsh-docs.

pjcdawkins avatar pjcdawkins commented on July 23, 2024

If you change the app name, your services are no longer available and thus your data is also not available.. and possibly it gets deleted. Not sure what happens if you change the name back - do you get your data back? if not, then the docs should state the risk.

from platformsh-docs.

OriPekelman avatar OriPekelman commented on July 23, 2024

This sounds like a bug. Changing an application name should have no effect on the other services running. Will confirm.

from platformsh-docs.

OriPekelman avatar OriPekelman commented on July 23, 2024

Can not confirm this behaviour.

Created an app with MySQL. Created table filled in data.

SSH into the prompt was:
web@mswy7hzcuhcjy-master--php

Renamed app from php to plop in .platform.app.yaml (and updated routes.yaml)

SSH in, the prompt is now:
web@mswy7hzcuhcjy-master--plop

Database with all the data still there.

I will now also test changing service names. That sounds like more fun.

from platformsh-docs.

OriPekelman avatar OriPekelman commented on July 23, 2024
  1. As I would have expected, changing service names make all the data go away.
  2. As I would have hoped, changing back does not bring the data back (that would be madness. We can not know what client could be mean by this)

So as far as I can see the behaviour seems sane all along . I will document the effects of changing both services and application names.

from platformsh-docs.

pjcdawkins avatar pjcdawkins commented on July 23, 2024

Well that's good, sorry false alarm- I probably misremembered hipchat comments on the subject

from platformsh-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.