Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Unable to stop or remove nextcloud stack #248

Open
ChaosBlades opened this issue Nov 21, 2021 · 2 comments
Open

[BUG] Unable to stop or remove nextcloud stack #248

ChaosBlades opened this issue Nov 21, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ChaosBlades
Copy link

ChaosBlades commented Nov 21, 2021

Describe the bug
I receive and error message if I try to stop or delete the nextcloud stack. My nextcloud instance is up and working correctly. It does not matter if I leave the containers running, stop them, or delete them. I get the same message.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Stacks
  2. Click on nextcloud
  3. Click on 'Stop this stack' or 'Delete this stack'
  4. See error

Expected behavior
The stack to be stopped / deleted

Error Message

Failure
failed to remove a stack: 
The PUID variable is not set. Defaulting to a blank string. 
The PGID variable is not set. Defaulting to a blank string. 
The TZ variable is not set. Defaulting to a blank string. 
The PORT variable is not set. Defaulting to a blank string. 
The MYSQL_ROOT_PASSWORD variable is not set. Defaulting to a blank string. 
The Timezone variable is not set. Defaulting to a blank string. 
The DATABASE_PASSWORD variable is not set. Defaulting to a blank string. 
The Compose file './Template/Stack/nextcloud.yml' is invalid because: services.nextcloud.ports contains an invalid type, it should be a number, or an object 
: exit status 1

All of these env variables are in fact not blank. I also tried to remove the env variables from the stack, save, then delete and still same error message.

@ChaosBlades ChaosBlades added the bug Something isn't working label Nov 21, 2021
@barthmania
Copy link

barthmania commented Jan 30, 2022

I have the exact same problem, did you find a way to delete the stack please ?

failed to remove a stack: The PUID variable is not set. Defaulting to a blank string. The PGID variable is not set. Defaulting to a blank string. The TZ variable is not set. Defaulting to a blank string. The PORT variable is not set. Defaulting to a blank string. The MYSQL_ROOT_PASSWORD variable is not set. Defaulting to a blank string. The DATABASE_PASSWORD variable is not set. Defaulting to a blank string. The Compose file '/data/compose/16/Template/Stack/nextcloud.yml' is invalid because: services.nextcloud.ports contains an invalid type, it should be a number, or an object : exit status 1

@ChaosBlades
Copy link
Author

Nope. I just discovered this trying to get something else to work so luckily I still need it so it is not too much of a headache. In the future I'll probably just manually add things instead of relying on templates. Does not seem like they are generally maintained very well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants