Content
no binarys built, manual install instructions missing a step? Opensuse 42.3
Added by Deleted user about 6 years ago
I followed the manual install instructions adapting them from ubuntu to opensuse 42.3 as i went.
This is not a dedicated server, So automatic packages that make lots of random changes are not welcome.
I also used the following in my apache config as this is not a dedicated server for just openproject.
LoadModule passenger_module /home/openproject/.rvm/gems/ruby-2.5.3/gems/passenger-6.0.1/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /home/openproject/.rvm/gems/ruby-2.5.3/gems/passenger-6.0.1
PassengerDefaultRuby /home/openproject/.rvm/gems/ruby-2.5.3/wrappers/ruby
</IfModule>
Alias /opj "/home/openproject/openproject-ce/public/"
Alias /opj/ "/home/openproject/openproject-ce/public/"
SetEnv EXECJS_RUNTIME Disabled
<Directory /home/openproject/openproject-ce/public>
# This relaxes Apache security settings.
AllowOverride all
# MultiViews must be turned off.
Options -MultiViews
# Uncomment this if you're on Apache >= 2.4:
Require all granted
</Directory>
Right after install i did not have memcached turned on, and i got errors about failed connections to port 11211 from the openproject logs But now i don't get any after my latest attempt with memcached running.
In fact i get no log files whatsoever other than the default and not surprising apache log messages in its files.
I also have no binary executable called "openproject" that i have seen called out as a way to configure things.
When loading this page "http://192.168.1.20/opj/" i only get Error 404 from apache "Object not found!"
When i load this page "http://192.168.1.20/opj/500.html" I get the openproject error 500 page as seen at "/home/openproject-ce/public/500.html"
I have never seen a more insane install procedure for a web service, or any linux software, and i am convinced that it is missing a step somewhere, as my latest install did not give any Error messages. and also failed to provide a openproject binary. (IE I cant run stuff like "openproject configure"
Below is my apache error log and access log.
I have no idea where to go from here.
[ N 2019-01-10 19:57:27.6558 836/T8 age/Cor/CoreMain.cpp:671 ]: Signal received. Gracefully shutting down... (send signal 2 more time(s) to force shutdown)
[ N 2019-01-10 19:57:27.6558 836/T1 age/Cor/CoreMain.cpp:1245 ]: Received command to shutdown gracefully. Waiting until all clients have disconnected...
[ N 2019-01-10 19:57:27.6559 836/Te Ser/Server.h:902 ]: [ServerThr.4] Freed 0 spare client objects
[ N 2019-01-10 19:57:27.6559 836/Te Ser/Server.h:558 ]: [ServerThr.4] Shutdown finished
[ N 2019-01-10 19:57:27.6559 836/Tb Ser/Server.h:902 ]: [ServerThr.2] Freed 0 spare client objects
[ N 2019-01-10 19:57:27.6560 836/Tb Ser/Server.h:558 ]: [ServerThr.2] Shutdown finished
[ N 2019-01-10 19:57:27.6560 836/Tc Ser/Server.h:902 ]: [ServerThr.3] Freed 0 spare client objects
[ N 2019-01-10 19:57:27.6560 836/Tc Ser/Server.h:558 ]: [ServerThr.3] Shutdown finished
[ N 2019-01-10 19:57:27.6561 836/T8 Ser/Server.h:902 ]: [ServerThr.1] Freed 0 spare client objects
[ N 2019-01-10 19:57:27.6561 836/T8 Ser/Server.h:558 ]: [ServerThr.1] Shutdown finished
[ N 2019-01-10 19:57:27.6562 836/Tg Ser/Server.h:902 ]: [ApiServer] Freed 0 spare client objects
[ N 2019-01-10 19:57:27.6562 836/Tg Ser/Server.h:558 ]: [ApiServer] Shutdown finished
[Thu Jan 10 19:57:27.669113 2019] [alias:warn] [pid 823] AH00671: The Alias directive in /etc/apache2/shippingValidator.conf at line 104 will probably never match because it overlaps an earlier Alias.
[Thu Jan 10 19:57:27.669182 2019] [alias:warn] [pid 823] AH00671: The Alias directive in /etc/apache2/private_lan.conf at line 5 will probably never match because it overlaps an earlier Alias.
[Thu Jan 10 19:57:27.669201 2019] [alias:warn] [pid 823] AH00671: The Alias directive in /etc/apache2/private_lan.conf at line 15 will probably never match because it overlaps an earlier Alias.
[Thu Jan 10 19:57:27.669212 2019] [alias:warn] [pid 823] AH00671: The Alias directive in /etc/apache2/private_lan.conf at line 25 will probably never match because it overlaps an earlier Alias.
[Thu Jan 10 19:57:27.669222 2019] [alias:warn] [pid 823] AH00671: The Alias directive in /etc/apache2/private_lan.conf at line 36 will probably never match because it overlaps an earlier Alias.
[ N 2019-01-10 19:57:27.7109 864/T1 age/Wat/WatchdogMain.cpp:1366 ]: Starting Passenger watchdog...
[ N 2019-01-10 19:57:27.7285 867/T1 age/Cor/CoreMain.cpp:1339 ]: Starting Passenger core...
[ N 2019-01-10 19:57:27.7286 867/T1 age/Cor/CoreMain.cpp:256 ]: Passenger core running in multi-application mode.
[ W 2019-01-10 19:57:27.7402 867/T1 age/Cor/CoreMain.cpp:1006 ]: WARNING: potential privilege escalation vulnerability detected. Phusion Passenger is running as root, and part(s) of the Passenger root path (/home/openproject/.rvm/gems/ruby-2.5.3/gems/passenger-6.0.1) can be changed by non-root user(s):
- /home/openproject/.rvm/gems/ruby-2.5.3/gems/passenger-6.0.1 is not secure: it can be modified by user openproject
- /home/openproject/.rvm/gems/ruby-2.5.3/gems is not secure: it can be modified by user openproject
- /home/openproject/.rvm/gems/ruby-2.5.3 is not secure: it can be modified by user openproject
- /home/openproject/.rvm/gems is not secure: it can be modified by user openproject
- /home/openproject/.rvm is not secure: it can be modified by user openproject
- /home/openproject is not secure: it can be modified by user openproject
Please either fix up the permissions for the insecure paths, or install Passenger in a different location that can only be modified by root.
[ N 2019-01-10 19:57:27.7402 867/T1 age/Cor/CoreMain.cpp:1014 ]: Passenger core online, PID 867
[Thu Jan 10 19:57:27.743420 2019] [mpm_prefork:notice] [pid 823] AH00163: Apache/2.4.23 (Linux/SUSE) OpenSSL/1.0.2j-fips PHP/7.0.7 Phusion_Passenger/6.0.1 configured -- resuming normal operations
[Thu Jan 10 19:57:27.743458 2019] [core:notice] [pid 823] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -D SSL -C PidFile /var/run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c Include /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'
[ N 2019-01-10 19:57:28.1923 836/T1 age/Cor/TelemetryCollector.h:531 ]: Message from Phusion: End time can not be before or equal to begin time
[ N 2019-01-10 19:57:28.2438 836/T1 age/Cor/CoreMain.cpp:1324 ]: Passenger core shutdown finished
[ N 2019-01-10 19:57:30.3135 867/T5 age/Cor/SecurityUpdateChecker.h:519 ]: Security update check: no update found (next check in 24 hours)
192.168.1.48 - - [11/Jan/2019:10:39:37 -0600] "GET /opj/500.html HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
192.168.1.48 - - [11/Jan/2019:10:39:39 -0600] "GET /opj/ HTTP/1.1" 404 984 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0"
Replies (1)
Same here on Passenger 6.01. No solution in site and very little out there on it.