Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error backup #1793

Closed
Jeanoo opened this issue Jul 7, 2023 · 1 comment
Closed

error backup #1793

Jeanoo opened this issue Jul 7, 2023 · 1 comment

Comments

@Jeanoo
Copy link

Jeanoo commented Jul 7, 2023

when i try to make a backup i get the following error, can you please help me to see clearly? Thanks
[ nc-backup ] (Fri Jul 7 19:20:55 CEST 2023) Installing template 'ncp-metrics.cfg.sh'... Cannot load Zend OPcache - it was already loaded Cannot load Zend OPcache - it was already loaded check free space... Cannot load Zend OPcache - it was already loaded Cannot load Zend OPcache - it was already loaded An unhandled exception has been thrown: ParseError: syntax error, unexpected 'LoggerInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/nextcloud/apps/analytics/lib/Datasource/Github.php:19 Stack trace: #0 /var/www/nextcloud/lib/composer/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/var/www/nextcl...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('OCA\\Analytics\\D...') #2 [internal function]: spl_autoload_call('OCA\\Analytics\\D...') #3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(112): ReflectionClass->__construct('OCA\\Analytics\\D...') #4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\D...') #5 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\D...') #6 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\D...') #7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\D...', true) #8 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\C...') #12 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\C...') #13 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\C...') #14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\C...', true) #15 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\S...') #19 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\S...') #20 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\S...') #21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\S...', true) #22 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\C...') #26 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\C...') #27 /var/www/nextcloud/lib/private/ServerContainer.php(145): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\C...') #28 /var/www/nextcloud/lib/private/Console/Application.php(217): OC\ServerContainer->query('OCA\\Analytics\\C...') #29 /var/www/nextcloud/lib/private/Console/Application.php(128): OC\Console\Application->loadCommandsFromInfoXml(Array) #30 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #31 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #32 {main}Abort... Cannot load Zend OPcache - it was already loaded An unhandled exception has been thrown: ParseError: syntax error, unexpected 'LoggerInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/nextcloud/apps/analytics/lib/Datasource/Github.php:19 Stack trace: #0 /var/www/nextcloud/lib/composer/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/var/www/nextcl...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('OCA\\Analytics\\D...') #2 [internal function]: spl_autoload_call('OCA\\Analytics\\D...') #3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(112): ReflectionClass->__construct('OCA\\Analytics\\D...') #4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\D...') #5 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\D...') #6 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\D...') #7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\D...', true) #8 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\C...') #12 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\C...') #13 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\C...') #14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\C...', true) #15 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\S...') #19 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\S...') #20 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\S...') #21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\S...', true) #22 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\C...') #26 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\C...') #27 /var/www/nextcloud/lib/private/ServerContainer.php(145): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\C...') #28 /var/www/nextcloud/lib/private/Console/Application.php(217): OC\ServerContainer->query('OCA\\Analytics\\C...') #29 /var/www/nextcloud/lib/private/Console/Application.php(128): OC\Console\Application->loadCommandsFromInfoXml(Array) #30 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #31 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #32 {main}Cannot load Zend OPcache - it was already loaded An unhandled exception has been thrown: ParseError: syntax error, unexpected 'LoggerInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /var/www/nextcloud/apps/analytics/lib/Datasource/Github.php:19 Stack trace: #0 /var/www/nextcloud/lib/composer/composer/ClassLoader.php(428): Composer\Autoload\includeFile('/var/www/nextcl...') #1 [internal function]: Composer\Autoload\ClassLoader->loadClass('OCA\\Analytics\\D...') #2 [internal function]: spl_autoload_call('OCA\\Analytics\\D...') #3 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(112): ReflectionClass->__construct('OCA\\Analytics\\D...') #4 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\D...') #5 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\D...') #6 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\D...') #7 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\D...', true) #8 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #9 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #10 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #11 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\C...') #12 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\C...') #13 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\C...') #14 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\C...', true) #15 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #16 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #17 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #18 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\S...') #19 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\S...') #20 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(435): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\S...') #21 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(87): OC\AppFramework\DependencyInjection\DIContainer->query('OCA\\Analytics\\S...', true) #22 [internal function]: OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(ReflectionParameter)) #23 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(106): array_map(Object(Closure), Array) #24 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(114): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass)) #25 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(131): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\\Analytics\\C...') #26 /var/www/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(463): OC\AppFramework\Utility\SimpleContainer->query('OCA\\Analytics\\C...') #27 /var/www/nextcloud/lib/private/ServerContainer.php(145): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\\Analytics\\C...') #28 /var/www/nextcloud/lib/private/Console/Application.php(217): OC\ServerContainer->query('OCA\\Analytics\\C...') #29 /var/www/nextcloud/lib/private/Console/Application.php(128): OC\Console\Application->loadCommandsFromInfoXml(Array) #30 /var/www/nextcloud/console.php(99): OC\Console\Application->loadCommands(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #31 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...') #32 {main}

@Jeanoo
Copy link
Author

Jeanoo commented Jul 10, 2023

I succeeded with these commands and by deactivating the analytics app
sudo rm /etc/php/7.3/cli/conf.d/20-opcache.ini
sudo rm /etc/php/7.3/fpm/conf.d/20-opcache.ini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants