Hi Roberto,

I think there was one version where the config export was broken. Version 7.8 or 7.9 should fix it. Upgrading to 9.x is even better.

Best regards
Roland

Am 16.06.25 um 10:48 schrieb Roberto Fabbretti via Lam-public:
Hello

Here is the error in the Apache log

Thu Jun 12 14:29:12.017168 2025] [php:warn] [pid 1584554] [client 
127.0.0.1:39674] PHP Warning:  include_once(database.inc): Failed to open 
stream: No such file or directory in 
/usr/share/ldap-account-manager/lib/persistence.inc on line 269, referer: 
http://localhost/lam/templates/config/confImportExport.php
[Thu Jun 12 14:29:12.017382 2025] [php:warn] [pid 1584554] [client 
127.0.0.1:39674] PHP Warning:  include_once(): Failed opening 'database.inc' 
for inclusion (include_path='.:/usr/share/php') in 
/usr/share/ldap-account-manager/lib/persistence.inc on line 269, referer: 
http://localhost/lam/templates/config/confImportExport.php
[Thu Jun 12 14:29:12.017712 2025] [php:error] [pid 1584554] [client 127.0.0.1:39674] PHP Fatal 
error:  Uncaught Error: Class "LAM\\DB\\CronDatabase" not found in 
/usr/share/ldap-account-manager/lib/persistence.inc:272\nStack trace:\n#0 
/usr/share/ldap-account-manager/lib/persistence.inc(76): 
LAM\\PERSISTENCE\\ConfigDataExporter->_getCronJobData()\n#1 
/usr/share/ldap-account-manager/templates/config/confImportExport.php(79): 
LAM\\PERSISTENCE\\ConfigDataExporter->exportAsJson()\n#2 {main}\n  thrown in 
/usr/share/ldap-account-manager/lib/persistence.inc on line 272, referer: 
http://localhost/lam/templates/config/confImportExport.php
~

I will try to upgrade to 9.1

Best regards

Roberto Fabbretti, PhD
Directeur Division Calcul et Soutien à la Recherche
UNIL | Université de Lausanne
Quartier Sorge - Bâtiment Amphimax - CH-1015 Lausanne - Switzerland
+41 21 692 40 32<tel:+41216924032>
[email protected]<mailto:[email protected]> - 
www.unil.ch<http://www.unil.ch>


On 13 Jun 2025, at 20:38, Roland Gruber <[email protected]> wrote:

Hi Roberto,

please check your Apache error log. There should be more details. Maybe the 
maximum memory for PHP needs to be increased.
As version 7.7 is very old, I recommend to upgrade to version 9.2. This runs on 
the current LTS version of Ubuntu.

Best regards
Roland


Am 13. Juni 2025 14:26:04 MESZ schrieb Roberto Fabbretti via Lam-public 
<[email protected]>:
Hello

On Ubuntu 22.04  ARM 64 LDAP Account Manager 7.7 cannot export configuration

Here is the error message


http://localhost/lam/templates/config/confImportExport.php might have a 
temporary problem or it could have moved.

Error code: 500 Internal Server Error



   *   The site could be temporarily unavailable or too busy. Try again in a 
few moments.


R. F.



_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public



_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to