-
Published Question
Hello, I've used the docker-machine in DO droplets with docker-compose for years and recently all my docker-compose commands started to fail with the error:
ERROR: Client sent an HTTP request to an HTTPS server.
Aft...
1
•
•
By
wilgoszpl
Docker
-
Published Question
Hello, I'm trying to setup automatic deploy with capistrano for one-click rails application.
I have a rails user which I added to sudo group.
The problem is, that when I want to restart the application using systemctl...
Accepted Answer:
There's an option in sudoers that allows the user to sudo without password - NOPASSWD (https://www.sudo.ws/man/1.8.18/sudoers.man.html#User_specification)
1
•
•
By
wilgoszpl
Linux Basics
DigitalOcean 1-Click Apps Marketplace
Ubuntu 16.04
-
Published Question
Hello,
I created new rails application using one-click installation. It gave me two users: root and rails.
When I try to run migrations on my rails user, it says:
RAILS_ENV=production rails db:migrate
=>rake aborted...
Accepted Answer:
When I deployed the Ruby on Rails one click application these were all of the commands I used to get to the psql command line:
root@ruby-rails:~# su - rails
rails@ruby-rails:~$ psql
After switching to the rails user a...
1
•
•
By
wilgoszpl
PostgreSQL
Ruby on Rails
DigitalOcean 1-Click Apps Marketplace
Ubuntu 16.04