bitnami / vms

Bitnami VMs
https://bitnami.com
Other
200 stars 44 forks source link

Redmine home page is not accessible #1556

Closed sava6e closed 2 hours ago

sava6e commented 1 month ago

Platform

Virtual Machine

bndiagnostic ID know more about bndiagnostic ID

c5b43404-f316-aa71-27d6-610a1adf64f3

bndiagnostic output

ctlscript.sh status apache running mariadb running subversion running

bndiagnostic was not useful. Could you please tell us why?

-

Describe your issue as much as you can

after first start (so i made some setup and entered basic data: projects and few tasks) redmine went offline and after restarting WM it is not accessible at http://192.168.68.126/

gongomgra commented 4 weeks ago

Hi @sava6e,

I checked your bndiagnostic data, and according to Apache logs, the ruby binary is missing on your system. Did you remove any file in your installation or updated any filesystem permissions?

[Sat Jun 01 18:21:44.026313 2024] [mpm_event:notice] [pid 484:tid 140040784176960] AH00489: Apache/2.4.59 (Unix) OpenSSL/3.0.11 SVN/1.14.3 Phusion_Passenger/6.0.20 configured -- resuming normal operations
[Sat Jun 01 18:21:44.026349 2024] [core:notice] [pid 484:tid 140040784176960] AH00094: Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf'
[ N 2024-06-01 18:21:45.1546 461/T1 age/Cor/TelemetryCollector.h:531 ]: Message from Phusion: End time can not be before or equal to begin time
[ N 2024-06-01 18:21:45.1794 461/T1 age/Cor/CoreMain.cpp:1325 ]: Passenger core shutdown finished
*** ERROR: cannot execute ruby: No such file or directory (errno=2)
sava6e commented 4 weeks ago

Hi @sava6e,

I checked your bndiagnostic data, and according to Apache logs, the ruby binary is missing on your system. Did you remove any file in your installation or updated any filesystem permissions?

[Sat Jun 01 18:21:44.026313 2024] [mpm_event:notice] [pid 484:tid 140040784176960] AH00489: Apache/2.4.59 (Unix) OpenSSL/3.0.11 SVN/1.14.3 Phusion_Passenger/6.0.20 configured -- resuming normal operations
[Sat Jun 01 18:21:44.026349 2024] [core:notice] [pid 484:tid 140040784176960] AH00094: Command line: '/opt/bitnami/apache/bin/httpd -f /opt/bitnami/apache/conf/httpd.conf'
[ N 2024-06-01 18:21:45.1546 461/T1 age/Cor/TelemetryCollector.h:531 ]: Message from Phusion: End time can not be before or equal to begin time
[ N 2024-06-01 18:21:45.1794 461/T1 age/Cor/CoreMain.cpp:1325 ]: Passenger core shutdown finished
*** ERROR: cannot execute ruby: No such file or directory (errno=2)

thank you for your reply! of course not! i didnt change any file in my installation. pls advice the best decision in my case. is it possible to repair ruby? evacuate my data and reinstall redmine?

gongomgra commented 3 weeks ago

Hi @sava6e,

Just out of curiosity, can you check if the file is still in your machine?

ls -larth /opt/bitnami/ruby/*

We have a guide on how to backup and restore Redmine data at https://docs.bitnami.com/virtual-machine/apps/redmine/administration/upgrade/, which must be of help to migrate your data into a new installation in another virtual machine. Anyways, we highly recommend you to double check official Redmine guides just in case there is any extra action needed on this.

sava6e commented 3 weeks ago

image

sava6e commented 3 weeks ago

meanwhile image

gongomgra commented 3 weeks ago

There seems to be a known issue in VirtualBox for that message

https://www.virtualbox.org/ticket/19781

Regarding the Ruby issue, notice my command had an extra /* at the end of the Ruby installation path. Please run the command again and share the output with us.

github-actions[bot] commented 6 days ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 3 hours ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.