Comments on How to Install Redmine 3.2 with Nginx on Ubuntu 16.04
Redmine is an open source project management and issue tracking tool based on the Ruby on Rails Framework. This tutorial covers the Redmine 3 installation with Nginx as the web server and MySQL as the database on Ubuntu 16.04 (Xenial Xerus) operating system.
26 Comment(s)
Comments
Very helpfull¡¡
Now, How do i have to configure nginx to SSL with redmine??
Thank you¡¡
You can Google for ssl implementation.
Hello,
Thank you for this guide.
Do I execute all commands as root? the first command is sudo su. After, you don't specify if one should run the commands from his user account or as root (sudo su) though sometimes the commands are preceeded with sudo.
Thanks
Great article!
You should append the
include vhost/*.conf;must be included in the http section, and not at the end of the nginx.conf file.
Great article!
Thanks
Very Helpful Guide. Thank You.
While installing on Ubuntu 16.4.0 LTS i faced some problem in step 4. When trying passenger-install-nginx-module , I was getting command not found.
$ cd /
$ find -name passenger-install-nginx-module
$ rvmsudo [path found in previous command]/passenger-install-nginx-module
hope this is helpful. please update the guide.
access "localhost" but just see next page...
Welcome to nginx!If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com.
Thank you for using nginx.
----------------------------------------------------------------------------------
what's wrong? please....
We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.
Not work after reboot For "create database redmine;" try use: "CREATE DATABASE redmine CHARACTER SET utf8;"
Please help.
I have "Welcome to nginx!" too =-(
Thank you very much
in the redmin.conf, place a ; at the end of the "redmine.me" (or offcourse your own domain
Hi,
How to install redmine with apache ?
After successfully installed above all command i am unable to browse redmine
i am getting below message
Welcome to nginx!If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.Commercial support is available at nginx.com.
Thank you for using nginx.
https://www.phusionpassenger.com/library/install/nginx/install/oss/jessie/ <--- use this to install passenger on existing nginx! :)
Please help me to configure e-mail notification
I have that problem of getting the nginx default page too and I don't know even what to google for. redmine.conf points to the right directory and I would expect this to work or at least give a different kind of error message. Did anyone else find a sulution for this?
For everyone who is having troubles with the nginx configuration when installing redmine into a subdirectory on your localhost machine:The path where all your web projects are: /var/www/
The path where redmine is installed: /var/www/redmine
nginx.conf:
server {
listen 80;
server_name localhost;
location / {
root html;
index index.html index.htm;
}
# Redmine
location ~ ^/redmine(/.*|$) {
alias /var/www/redmine/public$1;
passenger_base_uri /redmine;
passenger_app_root /var/www/redmine;
passenger_document_root /var/www/redmine/public;
passenger_enabled on;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
}
Now you can access Redmine on http://localhost/redmine
Hope that helps...
i don't see index.html in /var/www/redmine/public/
so accese error occured 403 fobbiden.
how do i get index.html of redmine. please help me..
Hello,
It's importante to set user as www-data in nginx.conf file. You should also add "passenger_user_switching off;", "passenger_default_user www-data;" and "passenger_default_group www-data" to the http section. This way, user www-data will start nginx worker process and passenger processes avoiding Permission Denied errors.
Hi,
I followed the steps described above on my VPS (Ubuntu 17.04 x64). I had a problem in step 4 (systemctl start nginx). The displayed error is as follows:
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -x" for details.
If you can help me please
med: I got the same error, due to Apache running. Use systemctl stop httpd.service to stop Apache, then systemctl disable httpd.service to prevent it from starting at boot. Use systemctl enable nginx.service to set nginx to start at boot.
Just to mention that at this point I get an error
curl -sSL https://get.rvm.io | sudo bash -s stable --ruby=2.3.3
blaze@UbuntuServer:~$ curl -sSL https://get.rvm.io | sudo bash -s stable --ruby=2.3.3
Downloading https://github.com/rvm/rvm/archive/1.29.2.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.29.2/1.29.2.tar.gz.asc
Found PGP signature at: 'https://github.com/rvm/rvm/releases/download/1.29.2/1.29.2.tar.gz.asc',
but no GPG software exists to validate it, skipping.
Upgrading the RVM installation in /usr/local/rvm/
Upgrade of RVM in /usr/local/rvm/ is complete.
# blaze,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: https://rvm.io/help and https://twitter.com/rvm_io
Upgrade Notes:
* No new notes to display.
bash: line 880: __rvm_print_headline: command not found
The problem is discussed here : https://github.com/rvm/rvm/issues/4068
Dear all,
I set up step by step as guide but can't restart nginx, so can you help me?
root@ubuntu:/home/thong# systemctl status nginx.service
? nginx.service - The NGINX HTTP and reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; disabled; vendor preset: e
Active: failed (Result: exit-code) since Thu 2017-09-07 20:11:54 PDT; 11s ago
Process: 1323 ExecStartPre=/opt/nginx/sbin/nginx -t (code=exited, status=1/FAI
Sep 07 20:11:54 ubuntu systemd[1]: Stopped The NGINX HTTP and reverse proxy serv
Sep 07 20:11:54 ubuntu systemd[1]: Starting The NGINX HTTP and reverse proxy ser
Sep 07 20:11:54 ubuntu nginx[1323]: nginx: [emerg] unknown directive "erver" in
Sep 07 20:11:54 ubuntu nginx[1323]: nginx: configuration file /opt/nginx/conf/ng
Sep 07 20:11:54 ubuntu systemd[1]: nginx.service: Control process exited, code=e
Sep 07 20:11:54 ubuntu systemd[1]: Failed to start The NGINX HTTP and reverse pr
Sep 07 20:11:54 ubuntu systemd[1]: nginx.service: Unit entered failed state.
Sep 07 20:11:54 ubuntu systemd[1]: nginx.service: Failed with result 'exit-code'
It's easy the error message says
nginx: [emerg] unknown directive "erver" in
so you typed "erver" instead of "server" in the nginx configuration file.
Hi, I've installed 3.4 on ubuntu 18.04.
every thing looks fine but I get 500 error on account and setting pages. how can I fix?
Is there a particular way to upgrade to a new version of redmine after this install or can you just follow the Redmine instructions?
http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade