No awards yet.


2 Contributions
  • 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 (
    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