Questions tagged [swisscomdev]

Swisscom Application Cloud is a cloud platform based on Cloud Foundry.

Swisscom Application Cloud is a platform as a service (PaaS) offering by Swisscom, a telecommunications provider from Switzerland. The platform is based on Cloud Foundry.

References

218 questions
1
vote
1 answer

How to delete app with CF CLI when error occurs

Deleting an app with cf delete shows the following error: Deleting app the-app in org my-org / space my-space as me@mail.com... FAILED Server error, status code: 502, error code: 10001, message: Service broker failed to delete service binding for…
Florian Bienefelt
  • 1,448
  • 5
  • 15
  • 28
1
vote
4 answers

Create, restore, and download MongoDB backups automatically on Swisscom Application Cloud

We can create create backups from the Developer Portal for MongoDB, but I'm wondering if this is exposed in any other way through the CLI? Also, how can I access the backup to inspect it on my machine for example?
Florian Bienefelt
  • 1,448
  • 5
  • 15
  • 28
1
vote
1 answer

MongoDB: Couldn't add user - not authorized (CloudFoundry)

I have a MongoDB (Service Plan: small) and I would like to create an additional user but it seems I dont have the necessary privileges to do so. db.createUser({ user: "whateverusername" , pwd: "whateverpassword", roles: ["userAdminAnyDatabase",…
1
vote
1 answer

Update service MongoDB failed

I'm trying to update my mongodb-2 service with cf update-service $serviceInstance -p $newPlan But I get : FAILED Server error, status code: 400, error code: 110004, message: The service does not support changing plans. Does that mean that…
1
vote
2 answers

Map to custom domain still displays *.scapp.io

I just followed the procedure to map a single domain to my custom domain: Create the domain mydomain.com in ORGS Create the route myapp.mydomain.com in SPACES Map my app to both myapp.scapp.io and myapp.mydomain.com in SPACES Add a CNAME DNS…
1
vote
1 answer

CloudFoundry: nginx for serving static content on top of Gunicorn (Docker)

I am currently running a Gunicorn server in a Docker container serving both a Flask application and static content (on Swisscom CloudFoundry). What is the correct way to set up nginx as a reverse proxy for serving the static content? I assume the…
abilic
  • 81
  • 8
1
vote
2 answers

Service broker error: Internal Server Error when trying to unbind service

When I try to unbind my app from mariadb service I get: Unexpected Response Response code: 502 CC code: 0 CC error code: Request ID: 48c77bfe-4c22-4e56-4d62-34fc113a10d4::166ca652-62ac-4829-8c37-5009c1796426 Description: { …
alexv
  • 63
  • 1
  • 11
1
vote
0 answers

s3cmd no longer works correctly

Without changing anything in the config or somewhere else, my s3cmd didn't work anymore. An s3cmd la or s3cmd put and s3cmd get works fine, but as soon as I want to create or delete a bucket I get the following error: $ s3cmd mb s3://test ERROR:…
seinol
  • 71
  • 10
1
vote
1 answer

Setup repository and snapshot in elasticsearch

In order to set ES(6.1.4) to backup indices in a S3, I need to configure elasticsearch.yml to set path.repo. I can't find anyway to do that. Can this configuration be accessed from outside? Thanks
don ali
  • 157
  • 2
  • 16
1
vote
0 answers

While connected to Elasticsearch through port-forwarding, can't communicate with ES

I have followed this article and connected to remote ES through the following command: cf ssh my-logstash -L 9200:ES_HOST:443 -L 9201:ELK:59464 -i 0 Unlike ELK, I can't communicate with the new ES. Thanks in advance for any help
don ali
  • 157
  • 2
  • 16
1
vote
0 answers

Swisscom S3 Dynamic Storage - signature version with boto3?

When creating an S3 client like so: s3 = boto3.client( 's3', endpoint_url=app.config['S3_HOST'], aws_access_key_id=app.config['S3_SETTINGS']['accessKey'], aws_secret_access_key=app.config['S3_SETTINGS']['sharedSecret'], …
abilic
  • 81
  • 8
1
vote
1 answer

Run Supervisor on CloudFoundry

Is there a way to install an run Supervisor in the php-buildpack of CloudFoundry? I have a Laravel app and wan't some monitored background processes to work on queued jobs. I can install supervisor with the apt-buildpack, but when ever i wan't to…
Nio
  • 497
  • 3
  • 6
  • 16
1
vote
1 answer

Access to audit events of UAA (User Account and authentication) events in Swisscom cloud

Is it possible to get access to events generated by User Account and Authentication (UAA) server in the context of Swisscom Application Cloud? It is essential for me, to be able to have an audit trail of actions executed by authorised operators…
Lukas Futera
  • 107
  • 9
1
vote
0 answers

Cloudfoundry & composer with basic auth protected repositories

I would like to deploy my app onto a Cloudfoundry node. Using composer for dependency management. Now there is one repository with private packages, which is secured by basic auth (Example https://composer.example.com). "repositories": [{ "type":…
Paschi
  • 11
  • 1
1
vote
1 answer

Edit/create user with read/write access MongoDB

After deploying my Flask app, I get the following error when trying to access the MongoDB service: OperationFailure: not authorized on [db_name] to execute command ... I understand this is because the db user does not have read/write access to the…
abilic
  • 81
  • 8