Recognition

No awards yet.

Posts

3 Posts
  • Published Question

    Can't use docker-compose on docker-machine in the droplet.

    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...
    0 By wilgoszpl Docker
  • Published Question

    Rails one-click application restart server without password

    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 One-Click Install Apps Ubuntu 16.04
  • Published Question

    Problem with accessing postgresql in one-click rails droplet

    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 One-Click Install Apps Ubuntu 16.04