![]() Mysql::Error: Unknown column 'projects.status' in 'where clause': SELECT `projects`.* FROM `projects` INNER JOIN `members` ON `projects`.id = `members`.project_id WHERE ((`members`.user_id = 1) AND ((projects.status=1)))ģ5: 'search', :action => 'index', :id => :accesskey => accesskey(:search) >:ģ6: 20, :class => 'small', :accesskey => accesskey(:quick_search) > Showing app/views/layouts/base.rhtml where line #38 raised: If you continue to experience problems please contact your redMine administrator for assistance.ĪctiveRecord::StatementInvalid in Account#login Once the Apache service has been stopped, modify the server configuration at installdir/nginx/conf/nf to be similar to this.An error occurred on the page you were trying to access. To do this, run the command below: $ sudo installdir/ctlscript.sh stop apache To configure NGINX to run at port 80, stop the Apache service. Execute the command below in the directory of your Rails application. Restart the Apache server with manager-windows.exe tool.Īfter restarting Apache, the application should be accessible by browsing to NOTE: Remember that you need to serve your application with Puma. LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so To enable the required modules, edit the installdir/apache2/conf/nf file and uncomment the following lines: LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so Remember to replace the APPNAME placeholder with the correct directory for your Rails application.Įdit the installdir/apache2/conf/bitnami/nf file and add the following line at the end of the file: Include installdir/nf RewriteRule ^/(.*)$ balancer://appcluster% DocumentRoot "installdir/APPNAME/public/" Use Apache with Pumaįor Windows users, we recommend using Puma as a service.Ĭreate a new file at installdir/nf and fill it with the following content. $ sudo installdir/ctlscript.sh restart apacheĪfter restarting Apache, the application should be accessible by browsing to NOTE: Remember that you might need to adjust the permissions of your application directory and sub-directories to make them accessible to the user that the Apache server runs as - for example, with the command sudo chown bitnami:daemon installdir/APPNAME. Next, edit the installdir/apache2/conf/bitnami/nf file and add the following line at the end of the file: Include installdir/nf Remember to replace the HOST_NAME placeholder with the host name of your cloud server and the APPNAME placeholder with the correct directory for your Rails application. ĭocumentRoot "installdir/APPNAME/public/" Follow the steps below:Ĭreate a new file at installdir/nf and fill it with the following content. The most common way to deploy a Rails application is with Apache and Passenger. There are different ways to deploy a Rails application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |