This issue (about undefined mb_strtolower() function) fixed in 11838.
But php-mbstring module is recommended for install by default, since many parts of features require it for normal operation.
David Milton via observium wrote on 05.01.2022 01:28:
I tried a fresh install and now have a different fatal error:
16:12 dmilton@saison:/opt/observium$ svn info Path: . Working Copy Root Path: /opt/observium URL: https://svn.observium.org/svn/observium/trunk Repository Root: https://svn.observium.org/svn Repository UUID: 61d68cd4-352d-0410-923a-c4978735b2b8 Revision: 11835 Node Kind: directory Schedule: normal Last Changed Author: adama Last Changed Rev: 11835 Last Changed Date: 2022-01-03 10:25:15 -0600 (Mon, 03 Jan 2022)
[Tue Jan 04 16:12:19.664363 2022] [php7:error] [pid 1091:tid 140735389107968] [client 204.83.3.136:53932] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /opt/observium/libs/Phpfastcache8/Core/Pool/IO/IOHelperTrait.php:123\nStack trace:\n#0 /opt/observium/libs/Phpfastcache8/Drivers/Sqlite/Driver.php(76): Phpfastcache\Drivers\Sqlite\Driver->getPath()\n#1 /opt/observium/libs/Phpfastcache8/Drivers/Sqlite/Driver.php(67): Phpfastcache\Drivers\Sqlite\Driver->getSqliteDir()\n#2 /opt/observium/libs/Phpfastcache8/Core/Pool/DriverBaseTrait.php(75): Phpfastcache\Drivers\Sqlite\Driver->driverCheck()\n#3 /opt/observium/libs/Phpfastcache8/CacheManager.php(189): Phpfastcache\Drivers\Sqlite\Driver->__construct()\n#4 /opt/observium/includes/cache.inc.php(572): Phpfastcache\CacheManager::getInstance()\n#5 /opt/observium/includes/sql-config.inc.php(310): include_once('/opt/observium/...')\n#6 /opt/observium/html/index.php(13): include('/opt/observium/...')\n#7 {main}\n thrown in /opt/observium/libs/Phpfastcache8/Core/Pool/IO/IOHelperTrait.php on line 123
Now that the database has been updated, can I go back to the last working version? How do I get things going again?
On Jan 4, 2022, at 15:53, David Milton david@dmilton.ca wrote:
Hello,
I was noticing a new version so did my usual: 15:01 dmilton@saison:/opt/observium$ sudo svn up [sudo] password for dmilton: Updating '.’: ..snip.. A update/457.sql A update/458.sql U . Updated to revision 11835.
15:02 dmilton@saison:/opt/observium$ sudo ./discovery.php -u
/ _ \ | |__ ___ ___ _ __ __ __(_) _ _ _ __ ___ | | | || '_ \ / __| / _ | '__|\ \ / /| || | | || '_ ` _ \ | |_| || |_) |__ | __/| | \ V / | || |_| || | | | | | ___/ |_.__/ |___/ ___||_| _/ |_| __,_||_| |_| |_| Observium Professional 21.12.11831 https://www.observium.org
-- Updating database/file schema 456 -> 457 # (db) ..... Done (0s). 457 -> 458 # (db) ... Done (0s). -- Done. -- Observium is up to date.
The first thing I noticed is that the index.html permissions were wrong: -rw------- 1 root root 25K Jan 4 15:02 index.php
I fixed that but now it is complaining about a missing function:
[Tue Jan 04 15:42:30.029551 2022] [php7:error] [pid 10509:tid 140735418468096] [client 204.83.3.136:51456] PHP Fatal error: Uncaught Error: Call to undefined function print_error() in /opt/observium/html/index.php:20\nStack trace:\n#0 {main}\n thrown in /opt/observium/html/index.php on line 20
So what are the next steps?
Thanks, Dave.
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium