Skip to content
New issue

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

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

Already on GitHub? # to your account

nextcloud_install_production.sh failing config:system:set redis port --value=0 failed #2550

Closed
pym67 opened this issue Aug 24, 2023 · 1 comment · Fixed by #2551
Closed

Comments

@pym67
Copy link

pym67 commented Aug 24, 2023

Steps To Reproduce

Install Nextcloud VM with the script "sudo bash nextcloud_install_production.sh"

Expected Result

Script finishes without error.

Actual Result

System config value memcache.local set to string \OC\Memcache\Redis
System config value filelocking.enabled set to string true
System config value memcache.distributed set to string \OC\Memcache\Redis
System config value memcache.locking set to string \OC\Memcache\Redis
System config value redis => host set to string /var/run/redis/redis-server.sock
An unhandled exception has been thrown:
RedisException: No such file or directory in /var/www/nextcloud/lib/private/RedisFactory.php:137
Stack trace:
#0 /var/www/nextcloud/lib/private/RedisFactory.php(137): Redis->pconnect()
#1 /var/www/nextcloud/lib/private/RedisFactory.php(178): OC\RedisFactory->create()
#2 /var/www/nextcloud/lib/private/Memcache/Redis.php(66): OC\RedisFactory->getInstance()
#3 /var/www/nextcloud/lib/private/Memcache/Redis.php(72): OC\Memcache\Redis->getCache()
#4 /var/www/nextcloud/lib/private/App/InfoParser.php(58): OC\Memcache\Redis->get()
#5 /var/www/nextcloud/lib/private/App/AppManager.php(732): OC\App\InfoParser->parse()
#6 /var/www/nextcloud/lib/private/legacy/OC_App.php(434): OC\App\AppManager->getAppInfo()
#7 /var/www/nextcloud/lib/private/AppFramework/App.php(71): OC_App::getAppInfo()
#8 /var/www/nextcloud/lib/private/legacy/OC_App.php(155): OC\AppFramework\App::buildAppNamespace()
#9 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(119): OC_App::registerAutoloading()
#10 /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php(90): OC\AppFramework\Bootstrap\Coordinator->registerApps()
#11 /var/www/nextcloud/lib/base.php(703): OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
#12 /var/www/nextcloud/lib/base.php(1180): OC::init()
#13 /var/www/nextcloud/console.php(48): require_once('...')
#14 /var/www/nextcloud/occ(11): require_once('...')
#15 {main}Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
sudo -u www-data php /var/www/nextcloud/occ config:system:set redis port --value=0 failed

Screenshots, Videos, or Pastebins

No response

Additional Context

looks to be related to the following commit : 09bd223

looks to be related to to issue #2549

Build Version

27.0.2

Environment

By using the scripts

Environment Details

Ubuntu 22.04

@pym67 pym67 added the bug label Aug 24, 2023
@enoch85
Copy link
Member

enoch85 commented Aug 24, 2023

Thanks for this, will have a look later today.

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

Successfully merging a pull request may close this issue.

2 participants