# Redmine Web Admin To set yourself as web admin temporarily: $ sudo su labs $ cd /srv/http/labs.parabola.nu/ $ ./enter-rails-console > HACKERS['me'].admin = true > HACKERS['me'].save > exit # Maintenance before taking down redmine for maintenance, you can add a user warning to the banner to allow a few minutes for anyone creating or editing an issue to finish cleanly to do so, open the file: app/views/hooks/parabola/_view_layouts_base_body_top.html.erb and un-comment the 'maintenance-warning-div' warning header, then restart the service # systemctl restart uwsgi@labs.service after a few minutes, re-route all redmine traffic to the offline maintenance page to do so, open the file: /etc/nginx/sites/server-labs_parabola_nu.conf and un-comment the 'location' lines under the "# emergency maintenance page" comment then restart the nginx service, then take down the redmine service # systemctl restart nginx.service # systemctl stop uwsgi@labs.service after eveything is back to normal operation, remember to revert both of these maintenance changes, then restart the services again, as necessary