Class defaultTokenProvider does not exist

I’m getting 2-3 of these per hour, on a basically idle system.
All configuration checks pass. Server is stable enough for basic file retrieval.

PHP Fatal error:  Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! 
Class defaultTokenProvider does not exist in /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('defaultTokenPro...')
#1 /usr/share/webapps/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('defaultTokenPro...')
#2 /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query('defaultTokenPro...') 
#3 /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#4 /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...') 
#5 /usr/share/webapps/nextcl in /usr/share/webapps/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 110

FWIW Most of my instability seems to be triggered by picture gallery scanning.
Pretty sure this a new issue introduced with NC 14.
Platform is Arch Linux, apache 2.4.34-1, php 7.2.10-1, nextcloud 14.0.0-1. Thanks for any help.

I am having the same problem. Any ideas?

Facing same issue. Showing same error in log and Internal error 500 when trying to access installed directory URL.
Installed through Softaculous.

I am facing the same issue after the update to Nextcloud 14:

An unhandled exception has been thrown:
OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('defaultTokenPro...')
#1 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('defaultTokenPro...')
#2 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query('defaultTokenPro...')
#3 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#4 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')
#5 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...')
#6 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OC\\Authenticati...')
#7 /volume1/web/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#8 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OC\\Authenticati...')
#9 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...')
#10 /volume1/web/nextcloud/lib/private/Server.php(364): OC\ServerContainer->query('OC\\Authenticati...')
#11 /volume1/web/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))
#12 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OCP\\IUserSessio...')
#13 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OCP\\IUserSessio...')
#14 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OCP\\IUserSessio...')
#15 /volume1/web/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#16 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('UserSession')
#17 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('UserSession')
#18 /volume1/web/nextcloud/lib/private/Server.php(1408): OC\ServerContainer->query('UserSession')
#19 /volume1/web/nextcloud/lib/private/Server.php(683): OC\Server->getUserSession()
#20 /volume1/web/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))
#21 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OC\\App\\AppManag...')
#22 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\App\\AppManag...')
#23 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OC\\App\\AppManag...')
#24 /volume1/web/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#25 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('AppManager')
#26 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('AppManager')
#27 /volume1/web/nextcloud/lib/private/Server.php(1703): OC\ServerContainer->query('AppManager')
#28 /volume1/web/nextcloud/lib/private/legacy/app.php(342): OC\Server->getAppManager()
#29 /volume1/web/nextcloud/lib/private/legacy/app.php(113): OC_App::getEnabledApps()
#30 /volume1/web/nextcloud/lib/base.php(654): OC_App::loadApps(Array)
#31 /volume1/web/nextcloud/lib/base.php(1070): OC::init()
#32 /volume1/web/nextcloud/console.php(46): require_once('/volume1/web/ne...')
#33 /volume1/web/nextcloud/occ(11): require_once('/volume1/web/ne...')
#34 {main}PHP Fatal error:  Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('defaultTokenPro...')
#1 /volume1/web/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('defaultTokenPro...')
#2 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query('defaultTokenPro...')
#3 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#4 /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')
#5 /volume1/web/nextcloud/lib/private/ServerContainer.php(132):  in /volume1/web/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 110

My system is a Synology NAS. As I know, the default php version is 5.6 so I use the command like this:

sudo -u http /usr/local/bin/php70 ./occ db:add-missing-indices

Before I had this issue, when trying to use the occ command with php70 on Nextcloud 13 so I had to use /usr/local/bin/php56. Now php56 is no more supported, so I have no chance to update the indices

1 Like

Same exact issue here, version 14.0.0 on OpenBSD-current (httpd) with php7.0.32.

An unhandled exception has been thrown:
OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('defaultTokenPro...')                     
#1 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('defaultTokenPro...')                                            
#2 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query('defaultTokenPro...')                                             
#3 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))               
#4 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')                    
#5 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...')                                           
#6 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OC\\Authenticati...')                                           
#7 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))   
#8 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OC\\Authenticati...')                                         
#9 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...')                                           
#10 /storage/www/nextcloud/lib/private/Server.php(364): OC\ServerContainer->query('OC\\Authenticati...')                                                                        
#11 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))                                                     
shack:/var/www/nextcloud# doas -u www /usr/local/bin/php /var/www/nextcloud/occ help
An unhandled exception has been thrown:
OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('defaultTokenPro...')                     
#1 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('defaultTokenPro...')                                            
#2 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query('defaultTokenPro...')                                             
#3 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))               
#4 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')                    
#5 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...')                                           
#6 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OC\\Authenticati...')                                           
#7 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))   
#8 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OC\\Authenticati...')                                         
#9 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Authenticati...')                                           
#10 /storage/www/nextcloud/lib/private/Server.php(364): OC\ServerContainer->query('OC\\Authenticati...')                                                                        
#11 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))                                                     
#12 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OCP\\IUserSessio...')                                        
#13 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OCP\\IUserSessio...')                                          
#14 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OCP\\IUserSessio...')                                          
#15 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))  
#16 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('UserSession')                                                
#17 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('UserSession')                                                  
#18 /storage/www/nextcloud/lib/private/Server.php(1408): OC\ServerContainer->query('UserSession')                                                                               
#19 /storage/www/nextcloud/lib/private/Server.php(683): OC\Server->getUserSession()
#20 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(118): OC\Server->OC\{closure}(Object(OC\Server))                                                     
#21 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('OC\\App\\AppManag...')                                       
#22 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\App\\AppManag...')                                         
#23 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(171): OC\ServerContainer->query('OC\\App\\AppManag...')                                         
#24 /storage/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(114): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))  
#25 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(123): Pimple\Container->offsetGet('AppManager')                                                 
#26 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('AppManager')                                                   
#27 /storage/www/nextcloud/lib/private/Server.php(1703): OC\ServerContainer->query('AppManager')                                                                                
#28 /storage/www/nextcloud/lib/private/legacy/app.php(342): OC\Server->getAppManager()
#29 /storage/www/nextcloud/lib/private/legacy/app.php(113): OC_App::getEnabledApps()
#30 /storage/www/nextcloud/lib/base.php(654): OC_App::loadApps(Array)
#31 /storage/www/nextcloud/lib/base.php(1070): OC::init()
#32 /storage/www/nextcloud/console.php(46): require_once('/storage/www/ne...')
#33 /storage/www/nextcloud/occ(11): require_once('/storage/www/ne...')
#34 {main}PHP Fatal error:  Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php:110
Stack trace:
#0 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('defaultTokenPro...')
#1 /storage/www/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('defaultTokenPro...')
#2 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(81): OC\ServerContainer->query('defaultTokenPro...')
#3 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(104): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
#4 /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(125): OC\AppFramework\Utility\SimpleContainer->resolve('OC\\Authenticati...')
#5 /storage/www/nextcloud/lib/private/ServerContainer.php(132):  in /storage/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 110

To make it work in my Synology, I just used the workaround from this thread and it worked.

My /etc/php-7.0.ini is already pointing to the correct extension_dir, so that doesn’t appear to be the issue.

For me it also doesn’t work. I had the problem with nextcloud 13 that the database couldn’t be connected with php70. for that this approach could work, but now a class defaultTokenProvider seems to be missing.

Based on an open GitHub ticket and other topic+some posts here, the defaultTokenProvider error shows up when for different reasons Nextcloud cannot access the database:

So whoever lands here, check if the database is running and accessible properly, PHP database module is installed for the PHP version that the webserver uses and such. In one case the database user, configured in config.php, was missing and such things.

Thanks for your response. My nextcloud instance runs just fine when I access via browser. This problem happens only if I use the occ command. I tried the workaround for synology, but had the same issue.

Hmm, webserver + CLI do surely use the same PHP version?
Especially in combination with Apache + mod_php if often occurs on PHP upgrades that users forget to upgrade the Apache module as well respectively disable the old and enable the new one. Then php_mysql might be installed for the webservers PHP instance, but not the upgraded CLI (php command) version.

However, if php -m lists pdo_mysql module, then the issue seems to be a different one.

Thanks for your response. Now I had some time to check on this. As I figured out, occ doesn’t load the extensions dynamically.
To fix this on the Synology I added a second ini at the path /usr/local/etc/php70/conf.d/ with the following content:

extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/apcu.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/bcmath.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/bz2.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/calendar.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/curl.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/dba.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/exif.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/ftp.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/gd.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/gettext.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/gmp.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/iconv.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/imap.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/intl.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/ldap.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/mailparse.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/mcrypt.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/memcached.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/mysqli.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/openssl.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/pdo_dblib.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/pdo_mysql.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/pdo_pgsql.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/pdo_sqlite.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/pgsql.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/phar.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/posix.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/redis.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/shmop.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/soap.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/sockets.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/sqlite3.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/ssh2.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/sysvmsg.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/sysvsem.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/sysvshm.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/wddx.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/xmlrpc.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/xsl.so
extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/zip.so

zend_extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/opcache.so
zend_extension = /volume1/@appstore/PHP7.0/usr/local/lib/php70/modules/xdebug.so

For all those who do not have a Synology, you can check the path by typing php70 --ini in console. This gives an output like this:

Configuration File (php.ini) Path: /usr/local/etc/php70
Loaded Configuration File:         /usr/local/etc/php70/php.ini
Scan for additional .ini files in: /usr/local/etc/php70/conf.d
Additional .ini files parsed:      /usr/local/etc/php70/conf.d/extensions.ini

Hope this helps someone else.

The default token provider does not exist in many cases.For example, it is missing in apple customer service chat and stills it works perfectly. You need to do some scripting.

Wow this actually worked for me.
I crated the extensions.ini file and filled it with the data you provided and now I’m able to execute the occ command just fine.
Thank you

Did someone already solve it within the NCP armfh container? I still have this problem and I think I am not able to fix it. Maybe, for such leap jumps, there should be version tags for the docker images instead of latest only. Is it even possible to go back if you do not already have a container running NC 13? (I have one which is still running, luckily).

You can also create a shell script to set PHP_INI_SCAN_DIR to your Synology PHP profile:

#!/bin/bash
PHP_INI_SCAN_DIR=.:/usr/local/etc/php70/:/var/packages/WebStation/etc/php_profile/<Buchstabensalat>/conf.d/
export PHP_INI_SCAN_DIR
php70 $*

More details in this blog (it’s german - but I assume you can read it):