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
I've been trying to upgrade my 3.0.5 installation to, well, anything really. But im failying miserably.
Im not 100% sure where my original 3.0.5 container came from (partly because now the image Im using is an export of the original image I used and doesn't contain its original version info.
Problem is, when i run it thru the docker compose (by just updating the version), when it starts up and I browse to it, it redirects me to the upgrade url (index.php?r=upgrade/index) and just outputs "Template does not contain files".
In the output, I can see this:
entrypoint: Starting with UID : 9001
setup_app: Setting up permissions
setup_locales: Setting up locales
Generating locales (this might take a while)...
ca_ES.UTF-8... done
de_DE.UTF-8... done
en_GB.UTF-8... done
en_US.UTF-8... done
es_ES.UTF-8... done
fr_FR.UTF-8... done
it_IT.UTF-8... done
nl_NL.UTF-8... done
pl_PL.UTF-8... done
pt_BR.UTF-8... done
ru_RU.UTF-8... done
da.UTF-8...cannot open locale definition file `da': No such file or directory
done
fo.UTF-8...cannot open locale definition file `fo': No such file or directory
done
Generation complete.
######
sysPass environment installed and configured. Please point your browser to https://x.x.x.x to start the installation
######
entrypoint: Starting Apache
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using x.x.x.x. Set the 'ServerName' directive globally to suppress this message
[Mon Sep 26 18:09:15.256650 2022] [ssl:warn] [pid 712] AH01909: x.x.x.x:443:0 server certificate does NOT include an ID which matches the server name
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using x.x.x.x. Set the 'ServerName' directive globally to suppress this message
[Mon Sep 26 18:09:15.481822 2022] [ssl:warn] [pid 712] AH01909: x.x.x.x:443:0 server certificate does NOT include an ID which matches the server name
[Mon Sep 26 18:09:15.487726 2022] [mpm_prefork:notice] [pid 712] AH00163: Apache/2.4.25 (Debian) OpenSSL/1.0.2u configured -- resuming normal operations
[Mon Sep 26 18:09:15.487852 2022] [core:notice] [pid 712] AH00094: Command line: '/usr/sbin/apache2 -D FOREGROUND'
y.y.y.y - - [26/Sep/2022:18:09:21 +0000] "GET / HTTP/1.1" 302 2086 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
[Mon Sep 26 18:09:21.345281 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [Extensions checked] SP\\Core\\PhpExtensionChecker::checkMandatory
[Mon Sep 26 18:09:21.380527 2022] [:error] [pid 714] [client y.y.y.y:26242] [ERROR] [Upgrade needed] SP\\Modules\\Web\\Init::initialize
[Mon Sep 26 18:09:21.388743 2022] [:error] [pid 714] [client y.y.y.y:26242] [EXCEPTION] [File not found (/var/www/html/sysPass/app/cache/actions.cache)\n#0 /var/www/html/sysPass/lib/SP/Storage/File/FileCacheBase.php(70): SP\\Storage\\File\\FileHandler->checkFileExists()\n#1 /var/www/html/sysPass/lib/SP/Core/Acl/Actions.php(90): SP\\Storage\\File\\FileCacheBase->isExpired(Integer)\n#2 /var/www/html/sysPass/lib/SP/Core/Acl/Actions.php(78): SP\\Core\\Acl\\Actions->loadCache()\n#3 /var/www/html/sysPass/lib/Definitions.php(77): SP\\Core\\Acl\\Actions->__construct(Object(SP\\Storage\\File\\FileCache),Object(SP\\Storage\\File\\XmlHandler))\n#4 [internal function]: DI\\Definition\\Source\\DefinitionFile->{closure}(Object(DI\\Container))\n#5 /var/www/html/sysPass/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array(Object(Closure),Array)\n#6 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/FactoryResolver.php(80): Invoker\\Invoker->call(Object(Closure),Array)\n#7 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php(64): DI\\Definition\\Resolver\\FactoryResolver->resolve(Object(DI\\Definition\\FactoryDefinition),Array)\n#8 /var/www/html/sysPass/vendor/php-di/php-di/src/Container.php(380): DI\\Definition\\Resolver\\ResolverDispatcher->resolve(Object(DI\\Definition\\FactoryDefinition),Array)\n#9 /var/www/html/sysPass/vendor/php-di/php-di/src/Container.php(138): DI\\Container->resolveDefinition(Object(DI\\Definition\\FactoryDefinition))\n#10 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Reference.php(53): DI\\Container->get(String)\n#11 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php(59): DI\\Definition\\Reference->resolve(Object(DI\\Container))\n#12 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/ParameterResolver.php(78): DI\\Definition\\Resolver\\ResolverDispatcher->resolve(Object(DI\\Definition\\Reference))\n#13 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(139): DI\\Definition\\Resolver\\ParameterResolver->resolveParameters(Object(DI\\Definition\\ObjectDefinition\\MethodInjection),Object(ReflectionMethod),Array)\n#14 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/ObjectCreator.php(71): DI\\Definition\\Resolver\\ObjectCreator->createInstance(Object(DI\\Definition\\AutowireDefinition),Array)\n#15 /var/www/html/sysPass/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php(64): DI\\Definition\\Resolver\\ObjectCreator->resolve(Object(DI\\Definition\\AutowireDefinition),Array)\n#16 /var/www/html/sysPass/vendor/php-di/php-di/src/Container.php(380): DI\\Definition\\Resolver\\ResolverDispatcher->resolve(Object(DI\\Definition\\AutowireDefinition),Array)\n#17 /var/www/html/sysPass/vendor/php-di/php-di/src/Container.php(138): DI\\Container->resolveDefinition(Object(DI\\Definition\\AutowireDefinition))\n#18 /var/www/html/sysPass/app/modules/web/Controllers/Traits/WebControllerTrait.php(140): DI\\Container->get(String)\n#19 /var/www/html/sysPass/app/modules/web/Controllers/ControllerBase.php(104): SP\\Modules\\Web\\Controllers\\ControllerBase->setUp(Object(DI\\Container))\n#20 /var/www/html/sysPass/lib/SP/Bootstrap.php(238): SP\\Modules\\Web\\Controllers\\ControllerBase->__construct(Object(DI\\Container),String)\n#21 [internal function]: SP\\Bootstrap->SP\\{closure}(Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#22 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(886): call_user_func(Object(Closure),Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#23 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(588): Klein\\Klein->handleRouteCallback(Object(Klein\\Route),Object(Klein\\DataCollection\\RouteCollection),Array)\n#24 /var/www/html/sysPass/lib/SP/Bootstrap.php(464): Klein\\Klein->dispatch(Object(Klein\\Request))\n#25 /var/www/html/sysPass/lib/Base.php(75): SP\\Bootstrap->run(Object(DI\\Container))\n#26 /var/www/html/sysPass/index.php(28): require(String)] N/A
[Mon Sep 26 18:09:21.388819 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [ACTION CACHE MISS] SP\\Core\\Acl\\Actions::mapAndSave
[Mon Sep 26 18:09:21.392713 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [Saved actions cache] SP\\Core\\Acl\\Actions::saveCache
[Mon Sep 26 18:09:21.396272 2022] [:error] [pid 714] [client y.y.y.y:26242] [EXCEPTION] [Response is locked\n#0 /var/www/html/sysPass/vendor/klein/klein/src/Klein/AbstractResponse.php(211): Klein\\AbstractResponse->requireUnlocked()\n#1 /var/www/html/sysPass/vendor/klein/klein/src/Klein/AbstractResponse.php(523): Klein\\AbstractResponse->code(Integer)\n#2 /var/www/html/sysPass/app/modules/web/Controllers/IndexController.php(50): Klein\\AbstractResponse->redirect(String)\n#3 [internal function]: SP\\Modules\\Web\\Controllers\\IndexController->indexAction()\n#4 /var/www/html/sysPass/lib/SP/Bootstrap.php(240): call_user_func_array(Array,Array)\n#5 [internal function]: SP\\Bootstrap->SP\\{closure}(Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#6 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(886): call_user_func(Object(Closure),Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#7 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(588): Klein\\Klein->handleRouteCallback(Object(Klein\\Route),Object(Klein\\DataCollection\\RouteCollection),Array)\n#8 /var/www/html/sysPass/lib/SP/Bootstrap.php(464): Klein\\Klein->dispatch(Object(Klein\\Request))\n#9 /var/www/html/sysPass/lib/Base.php(75): SP\\Bootstrap->run(Object(DI\\Container))\n#10 /var/www/html/sysPass/index.php(28): require(String)] N/A
[Mon Sep 26 18:09:21.396559 2022] [:error] [pid 714] [client y.y.y.y:26242] [EXCEPTION] [Response is locked\n#0 /var/www/html/sysPass/vendor/klein/klein/src/Klein/AbstractResponse.php(157): Klein\\AbstractResponse->requireUnlocked()\n#1 /var/www/html/sysPass/lib/SP/Bootstrap.php(149): Klein\\AbstractResponse->body(String)\n#2 [internal function]: SP\\Bootstrap->SP\\{closure}(Object(Klein\\Klein),String,String,Object(Klein\\Exceptions\\LockedResponseException))\n#3 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(936): call_user_func(Object(Closure),Object(Klein\\Klein),String,String,Object(Klein\\Exceptions\\LockedResponseException))\n#4 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(645): Klein\\Klein->error(Object(Klein\\Exceptions\\LockedResponseException))\n#5 /var/www/html/sysPass/lib/SP/Bootstrap.php(464): Klein\\Klein->dispatch(Object(Klein\\Request))\n#6 /var/www/html/sysPass/lib/Base.php(75): SP\\Bootstrap->run(Object(DI\\Container))\n#7 /var/www/html/sysPass/index.php(28): require(String)] N/A
y.y.y.y - - [26/Sep/2022:18:09:21 +0000] "GET /index.php HTTP/1.1" 302 400 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
[Mon Sep 26 18:09:21.440636 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [Extensions checked] SP\\Core\\PhpExtensionChecker::checkMandatory
[Mon Sep 26 18:09:21.442965 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [Loaded actions cache] SP\\Core\\Acl\\Actions::loadCache
[Mon Sep 26 18:09:21.473527 2022] [:error] [pid 714] [client y.y.y.y:26242] [EXCEPTION] [File not found (/var/www/html/sysPass/app/cache/actions.cache)\n#0 /var/www/html/sysPass/lib/SP/Storage/File/FileCacheBase.php(70): SP\\Storage\\File\\FileHandler->checkFileExists()\n#1 /var/www/html/sysPass/lib/SP/Core/Acl/Actions.php(90): SP\\Storage\\File\\FileCacheBase->isExpired(Integer)\n#2 /var/www/html/sysPass/lib/SP/Core/Acl/Actions.php(190): SP\\Core\\Acl\\Actions->loadCache()\n#3 /var/www/html/sysPass/app/modules/web/Controllers/UpgradeController.php(59): SP\\Core\\Acl\\Actions->reset()\n#4 [internal function]: SP\\Modules\\Web\\Controllers\\UpgradeController->indexAction()\n#5 /var/www/html/sysPass/lib/SP/Bootstrap.php(240): call_user_func_array(Array,Array)\n#6 [internal function]: SP\\Bootstrap->SP\\{closure}(Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#7 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(886): call_user_func(Object(Closure),Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#8 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(588): Klein\\Klein->handleRouteCallback(Object(Klein\\Route),Object(Klein\\DataCollection\\RouteCollection),Array)\n#9 /var/www/html/sysPass/lib/SP/Bootstrap.php(464): Klein\\Klein->dispatch(Object(Klein\\Request))\n#10 /var/www/html/sysPass/lib/Base.php(75): SP\\Bootstrap->run(Object(DI\\Container))\n#11 /var/www/html/sysPass/index.php(28): require(String)] N/A
[Mon Sep 26 18:09:21.473663 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [ACTION CACHE MISS] SP\\Core\\Acl\\Actions::mapAndSave
[Mon Sep 26 18:09:21.477012 2022] [:error] [pid 714] [client y.y.y.y:26242] [INFO] [Saved actions cache] SP\\Core\\Acl\\Actions::saveCache
[Mon Sep 26 18:09:21.477707 2022] [:error] [pid 714] [client y.y.y.y:26242] [EXCEPTION] [Template does not contain files\n#0 /var/www/html/sysPass/app/modules/web/Controllers/ControllerBase.php(184): SP\\Mvc\\View\\Template->render()\n#1 /var/www/html/sysPass/app/modules/web/Controllers/UpgradeController.php(61): SP\\Modules\\Web\\Controllers\\ControllerBase->view()\n#2 [internal function]: SP\\Modules\\Web\\Controllers\\UpgradeController->indexAction()\n#3 /var/www/html/sysPass/lib/SP/Bootstrap.php(240): call_user_func_array(Array,Array)\n#4 [internal function]: SP\\Bootstrap->SP\\{closure}(Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#5 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(886): call_user_func(Object(Closure),Object(Klein\\Request),Object(Klein\\Response),Object(Klein\\ServiceProvider),Object(Klein\\App),Object(Klein\\Klein),Object(Klein\\DataCollection\\RouteCollection),Array)\n#6 /var/www/html/sysPass/vendor/klein/klein/src/Klein/Klein.php(588): Klein\\Klein->handleRouteCallback(Object(Klein\\Route),Object(Klein\\DataCollection\\RouteCollection),Array)\n#7 /var/www/html/sysPass/lib/SP/Bootstrap.php(464): Klein\\Klein->dispatch(Object(Klein\\Request))\n#8 /var/www/html/sysPass/lib/Base.php(75): SP\\Bootstrap->run(Object(DI\\Container))\n#9 /var/www/html/sysPass/index.php(28): require(String)] N/A
y.y.y.y - - [26/Sep/2022:18:09:21 +0000] "GET /index.php?r=upgrade/index HTTP/1.1" 200 391 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
y.y.y.y - - [26/Sep/2022:18:09:27 +0000] "GET /favicon.ico HTTP/1.1" 404 688 "https://thevault.office.ictn.com.au/index.php?r=upgrade/index" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36"
There is a couple of references to the template error in the issues list but none of them really seem to solve my issue.. just wondering how I go about debugging it?
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
-
Hi all,
I've been trying to upgrade my 3.0.5 installation to, well, anything really. But im failying miserably.
Im not 100% sure where my original 3.0.5 container came from (partly because now the image Im using is an export of the original image I used and doesn't contain its original version info.
Problem is, when i run it thru the docker compose (by just updating the version), when it starts up and I browse to it, it redirects me to the upgrade url (index.php?r=upgrade/index) and just outputs "Template does not contain files".
In the output, I can see this:
There is a couple of references to the template error in the issues list but none of them really seem to solve my issue.. just wondering how I go about debugging it?
Beta Was this translation helpful? Give feedback.
All reactions