You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cloned repo, restored database from current 2.1 version, copied config files, updated dependencies with composer.phar ,verified database connectivity on the commandline , but web interface says cannot connect to database.
syspasslog says. :-
Package jeremeamia/superclosure is abandoned, you should avoid using it. Use opis/closure instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/dbunit is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
I have two other webapps using the same database englne with php that work fine.
Any thoughts?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
cloned repo, restored database from current 2.1 version, copied config files, updated dependencies with composer.phar ,verified database connectivity on the commandline , but web interface says cannot connect to database.
syspasslog says. :-
[2021-11-26 14:38:43] syspass.EXCEPTION: logger {"message":"(P) Unable to connect to DB
#0 /opt/syspass/lib/SP/Storage/Database/Database.php(216): SP\Storage\Database\MySQLHandler->getConnection()
#1 /opt/syspass/lib/SP/Storage/Database/Database.php(175): SP\Storage\Database\Database->prepareQueryData()
#2 /opt/syspass/lib/SP/Storage/Database/Database.php(136): SP\Storage\Database\Database->doQuery()
#3 /opt/syspass/lib/SP/Repositories/Plugin/PluginRepository.php(451): SP\Storage\Database\Database->doSelect()
#4 /opt/syspass/lib/SP/Services/Plugin/PluginService.php(292): SP\Repositories\Plugin\PluginRepository->getEnabled()
#5 /opt/syspass/lib/SP/Plugin/PluginManager.php(462): SP\Services\Plugin\PluginService->getEnabled()
#6 /opt/syspass/app/modules/web/Controllers/BootstrapController.php(117): SP\Plugin\PluginManager->getEnabledPlugins()
#7 /opt/syspass/app/modules/web/Controllers/BootstrapController.php(70): SP\Modules\Web\Controllers\BootstrapController->getPlugins()
#8 [internal function]: SP\Modules\Web\Controllers\BootstrapController->getEnvironmentAction()
#9 /opt/syspass/lib/SP/Bootstrap.php(240): call_user_func_array()
#10 [internal function]: SP\Bootstrap->SP{closure}()
#11 /opt/syspass/vendor/klein/klein/src/Klein/Klein.php(879): call_user_func()
#12 /opt/syspass/vendor/klein/klein/src/Klein/Klein.php(588): Klein\Klein->handleRouteCallback()
#13 /opt/syspass/lib/SP/Bootstrap.php(464): Klein\Klein->dispatch()
#14 /opt/syspass/lib/Base.php(75): SP\Bootstrap::run()
#15 /opt/syspass/index.php(28): require('/opt/syspass/li...')
#16 {main}","caller":"N/A"}
composer.phar said :-
Package jeremeamia/superclosure is abandoned, you should avoid using it. Use opis/closure instead.
Package fzaninotto/faker is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/dbunit is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Package phpunit/phpunit-mock-objects is abandoned, you should avoid using it. No replacement was suggested.
I have two other webapps using the same database englne with php that work fine.
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions