Hello!
I've set up a blank installation of Redmine using the instructions at this URL: https://documentation.cpanel.net/display/CKB/How+to+Install+a+Redmine+Web+Application
The installation on the command-line seemed to go without a hitch, no error messages were reported, the database migration went well, the load of default data all ran without any error messages etc. I did all of it logged in as the "redmine" user with the exception of the parts that needed to be carried out as "root".
The application is installed in a directory "redmine" for the user "redmine", so the path is /home/redmine/redmine
After installation I went to cPanel's Application Manager and set it up as follows:
Application Name:
Redmine
Deployment Domain:
redmine.example.com
Base Application URL:
redmine.example.com/
Application Path:
/redmine
Deployment Environment:
Production
Now, if I restart Apache and point my browser at redmine.example.com/ I just get the web server's "Proudly powered by LiteSpeed Web Server" message and not the Redmine application. I tried changing the Base Application URL to redmine.example.com/test (in case it absolutely needed to be installed under a specific path like that) but attempting to access it produced a 404 instead.
The Application Path seems to be correct, too, if I put in the full /home/redmine/redmine path it corrects it to /redmine and if I change it to something deliberately wrong the "Ensure dependencies" button disappears from the application manager list.
The only other indication I get of something being amiss is if I click "Ensure dependencies" in the Application Manager I get an error:
gem: The process failed. Run the following command from the command line:
cd /home/redmine/redmine && scl enable ea-ruby24 'bundle install'
Now, I can run that command as the "redmine" user and it works (and I had already run it as part of the installation), so I'm not sure what the issue is there. I do note that ruby and gem are not available to the root user, is that normal/OK?
Thanks in advance for any pointers in the right direction!
I've set up a blank installation of Redmine using the instructions at this URL: https://documentation.cpanel.net/display/CKB/How+to+Install+a+Redmine+Web+Application
The installation on the command-line seemed to go without a hitch, no error messages were reported, the database migration went well, the load of default data all ran without any error messages etc. I did all of it logged in as the "redmine" user with the exception of the parts that needed to be carried out as "root".
The application is installed in a directory "redmine" for the user "redmine", so the path is /home/redmine/redmine
After installation I went to cPanel's Application Manager and set it up as follows:
Application Name:
Redmine
Deployment Domain:
redmine.example.com
Base Application URL:
redmine.example.com/
Application Path:
/redmine
Deployment Environment:
Production
Now, if I restart Apache and point my browser at redmine.example.com/ I just get the web server's "Proudly powered by LiteSpeed Web Server" message and not the Redmine application. I tried changing the Base Application URL to redmine.example.com/test (in case it absolutely needed to be installed under a specific path like that) but attempting to access it produced a 404 instead.
The Application Path seems to be correct, too, if I put in the full /home/redmine/redmine path it corrects it to /redmine and if I change it to something deliberately wrong the "Ensure dependencies" button disappears from the application manager list.
The only other indication I get of something being amiss is if I click "Ensure dependencies" in the Application Manager I get an error:
gem: The process failed. Run the following command from the command line:
cd /home/redmine/redmine && scl enable ea-ruby24 'bundle install'
Now, I can run that command as the "redmine" user and it works (and I had already run it as part of the installation), so I'm not sure what the issue is there. I do note that ruby and gem are not available to the root user, is that normal/OK?
Thanks in advance for any pointers in the right direction!