Bug 7222 - Error 500 in installation of ocsinventory-reports
Summary: Error 500 in installation of ocsinventory-reports
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 2
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: mga2-64-OK mga2-32-OK
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2012-08-27 20:51 CEST by Alfonso Vera
Modified: 2012-09-04 21:23 CEST (History)
3 users (show)

See Also:
Source RPM: ocsinventory-2.0.4-2.2.mga2.src.rpm
CVE:
Status comment:


Attachments

Description Alfonso Vera 2012-08-27 20:51:15 CEST
How reproducible:


Steps to Reproduce:
1.urpmi ocsinventory-server ocsinventory-reports
2.I connect my browser to ... http://server-ip/ocsinventory-reports/install.php
3.I get this:

OCS-NG Inventory Installation
DB configuration not completed. Automatic install launched

But the installation don't start, the server has an error 500

xx.xx.x.xxx - - [27/Aug/2012:20:42:04 +0200] "GET /ocsinventory-reports/ HTTP/1.1" 500 559 "-"

Solution:

1- urpmi php-mbstring
2- Retype http://server-ip/ocsinventory-reports/install.php
3- Automatic install launched ok

php-mbstring is missing in the Requires section of mageia spec.
Juan Luis Baptiste 2012-08-27 21:08:38 CEST

CC: (none) => juan.baptiste

Comment 1 Juan Luis Baptiste 2012-08-27 21:13:56 CEST
Ok I'll add the missing Requires to cauldron and mga 2 versions for you as you suggest, and push to core/updates_testing.
Comment 2 Alfonso Vera 2012-08-27 22:29:52 CEST
Hi Juancho.
For resolve this problem; 
http://pastie.org/4599341
Comment 3 Juan Luis Baptiste 2012-08-28 19:17:11 CEST
Ok, there's an updated version 2.0.4-2.1 in core/updates_testing that fixes this issue, reassigning to QA.

Assignee: bersuit.vera => qa-bugs

Comment 4 Juan Luis Baptiste 2012-08-30 07:19:34 CEST
Oops, I misspelled the Requires, there's now a new 2.0.4-2.2 version on core/updates_testing.
Samuel Verschelde 2012-08-30 20:00:05 CEST

Source RPM: ocsinventory-2.0.4-2.mga2.src.rpm => ocsinventory-2.0.4-2.2.mga2.src.rpm

Comment 5 claire robinson 2012-08-31 17:37:23 CEST
Testing x86_64

Before
------

Browsing to http://localhost/ocsinventory-reports/install.php the page doesn't complete loading.

From /var/log/httpd/error.log

[Fri Aug 31 16:15:06 2012] [notice] caught SIGTERM, shutting down
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Fri Aug 31 16:15:06 2012] [notice] core dump file size limit raised to 18446744073709551615 bytes
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable

After
-----

ocsinventory-reports now requires php-mbstring. It is already in updates so will not need linking.

Browsing again starts the installation. httpd error log shows no errors.

Created a database and completed the installation to the point of being asked to log in.

Testing complete x86_64

Whiteboard: (none) => mga2-64-OK

Comment 6 claire robinson 2012-08-31 18:09:53 CEST
Testing complete i586

Completed installation, noticed the admin/admin login details this time so logged in and played around.

Validating

Advisory
---------------
This adds a require of php-mbstring necessary to allow installation
---------------

ocsinventory-2.0.4-2.2.mga2.src.rpm

Could sysadmin please push from core/updates_testing to core/updates

Thanks!

Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs
Hardware: i586 => All
Whiteboard: mga2-64-OK => mga2-64-OK mga2-32-OK

Comment 7 Thomas Backlund 2012-09-04 21:23:14 CEST
Update pushed:
https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0181

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.