Test out your site and restart Apache the Bitnami way, rather than shutting down the VM on Google Compute Engine. Only Bitnami’s Apache should be running now. sudo systemctl stop rvice sudo service apache2 stop You can use either commands to stop the Apache2 Service. I had some issues when tried to restart the redmineMysql service and as per a article on stackoverflow, I deleted the service from registry and recreated the service using 'sc create redmineMYSQL binpath 'D:\Bitnami\redmine-2.6.0-1\mysql\bin\mysqld. We will fix the Bitnami white screen error by simply forcing the other Apache service to stop. I have a redmine project management system setup on my windows server on MYSQL DB. This throws an error and can cause your Bitnami WordPress (or other apps) to white screen. The other Apache 2 service can automatically start if you restart a Google VM (virtual machine). sudo /opt/bitnami/ctlscript.sh restart Fix Bitnami white screen after restarting VM server Restart PHP-FPM the Bitnami way sudo /opt/bitnami/ctlscript.sh restart php-fpm Restart MySQL the Bitnami way sudo /opt/bitnami/ctlscript.sh restart mysql Restart Apache the Bitnami way sudo /opt/bitnami/ctlscript.sh restart apache I only want to restart thinredmine & thinredmine2 server. Im using production.log to debugging, but restart server waste a lot of time if using Bitnami Redmine Stack Manager Tool. Do one at a time or just the one you need to restart. Dear all, Im developing bitnami redmine plugin on windows by eclipse. It is passenger that really does restart application using (in /usr/share/redmine): touch tmp/restart.txt However, there is another point there. We will need to run commands to restart the Bitnami services. Ubuntu (10.04) installs redmine (0.9.3) with passenger. Let’s do it the safe way by SSH’ing into your GCP VM. You could run into a Bitnami error screen (which you can fix by reading the bottom of the post.) Let’s restart Bitnami services Note: Keep in mind that it’s bad practice to shutdown and restart the entire VM. For reference, I’m running Bitnami WordPress on Google Cloud Compute Engine. Enjoy.You may have edited some config files for Apache, PHP-FPM, phpMyAdmin or MySQL, and now it’s time to restart for the changes to take affect.
In ssh username put bitnami and in password, put your password from above.Ĭlick to test your connection. In mysql username put root and in password, put your password from above. In both hosts, put the IP of your Lightsail server.
In Sequal Pro choose to add a new connection. You may want to add a free static IP address, else the IP will change on restart and all this work will need doing again. Restart mysql with sudo /opt/bitnami/ctlscript.sh restart mysqlĬopy the IP address of your Lightsail instance. opt/bitnami/mysql/bin/mysql -u root -p -e "grant all privileges on *.* to with grant option" opt/bitnami/mysql/bin/mysql -u root -p -e "CREATE USER IDENTIFIED BY 'PASSWORD' " Replace PASSWORD with the password you copied above.įor MySQL 8 we have to create the user first
Keywords: Redmine - Windows - How to - Other Description: I installed Bitnami / Redmine Environment: Redmine version 3.4.5.stable Ruby version 2.3.3-p222 () i386-mingw32 Rails version 4.2.8 Environment. Replace 1.2.3.4 with internet connection IP address. After restarting Restart All Redmine is disabled after 10 seconds. opt/bitnami/mysql/bin/mysql -u root -p -e "grant all privileges on *.* to identified by 'PASSWORD' with grant option"
So #bind-address.įor MySQL < 8 – update mysql permissions for root remote access with Copy it somewhere as you’ll need it shortly.Ĭomment out the line that starts with bind-address. Log into ssh for the relevant LAMP instance using the browser tool on the Lightsail dashboard.Ĭat bitnami_application_password to get your application password. You could us ‘%’ for any IP, but I wouldn’t recommend it if you are on a static ip at home of at work. I’m also going to lock to a single IP for security.
I’m using Sequal Pro here, but this should work for almost any connection.