Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG/FEATURE] update OCS #1581

Closed
Parnoud opened this issue Dec 26, 2023 · 1 comment
Closed

[BUG/FEATURE] update OCS #1581

Parnoud opened this issue Dec 26, 2023 · 1 comment

Comments

@Parnoud
Copy link

Parnoud commented Dec 26, 2023

OCS Inventory version
Version : all with ldap/ldaps or ssologin

Describe the bug
After a maj, user cannot login with ldap/laps if enable before because the file is not backup or saved followin the documentation.

To Reproduce
Steps to reproduce the behavior:
Update OCS console to newer version, copy old file with with new file.
Restart the service and try to login with ldaps

Expected behavior
After maj, user should login in console as usual

Solution
in Wiki OCS add a point for /usr/share/ocsinventory-reports/ocsreports/var.php and auth type line 154.

Solution bis
Add a feature in setup.sh to find value he need in old config file if existe for update. Sometime, the file
/etc/apache2/conf-available/z-ocsinventory-server.conf
/etc/apache2/conf-available/zz-ocsinventory-restapi.conf
/etc/apache2/conf-available/ocsinventory-reports.conf
/usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php
arent the same between version. And maybe if this is implemented, add the auto remove of /usr/share/ocsinventory-reports/ocsreports/install.php

@Lea9250
Copy link
Contributor

Lea9250 commented Jan 29, 2024

Hi @Parnoud,

I agree that this should at least be mentioned within the documentation. I've made a PR for this : OCSInventory-NG/Wiki#184

Thank you for bringing it to our attention. We'll also consider the changes you proposed as an alternative solution.

Best regards,
Léa

@Lea9250 Lea9250 closed this as completed Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants