dokku / dokku-maintenance

dokku plugin that gives the ability to manage application maintenance mode
MIT License
113 stars 14 forks source link

Not able to turn on maintenance mode #4

Closed dushyantagarwal closed 7 years ago

dushyantagarwal commented 8 years ago

I get following error when I run dokku maintenance:on my_app_name

cp: cannot create regular file ‘/home/dokku/my_app_name/nginx.conf.d/maintenance.conf’: Permission denied
josegonzalez commented 7 years ago

I'm closing this. If it can't create that file, its because the permissions on that dir are screwed up, and it's not owned by dokku:dokku. That would be caused by something like editing that directory as another user (root?), so you can fix it by updating the ownership.