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 after module update #122

Closed
felixhahnweilheim opened this issue May 3, 2023 · 2 comments
Closed

Error after module update #122

felixhahnweilheim opened this issue May 3, 2023 · 2 comments

Comments

@felixhahnweilheim
Copy link

felixhahnweilheim commented May 3, 2023

After updating to the latest module version I get the error (see below) in the logs.
The mentioned file is present and belongs to the www-data user.
I don't see any other errors and the module seems still to work. I just wanted to report this.

HumHub v1.14.0
production site
PHP 8.0

yii\base\ErrorException: include(/var/www/humhub/protected/modules/gallery/config.php): Failed to open stream: No such file or directory in /var/www/humhub/protected/humhub/components/bootstrap/ModuleAutoLoader.php:77
Stack trace:
#0 /var/www/humhub/protected/humhub/components/bootstrap/ModuleAutoLoader.php(77): yii\base\ErrorHandler->handleError()
#1 /var/www/humhub/protected/humhub/components/bootstrap/ModuleAutoLoader.php(77): include()
#2 /var/www/humhub/protected/humhub/components/bootstrap/ModuleAutoLoader.php(48): humhub\components\bootstrap\ModuleAutoLoader::findModules()
#3 /var/www/humhub/protected/humhub/components/bootstrap/ModuleAutoLoader.php(34): humhub\components\bootstrap\ModuleAutoLoader::locateModules()
#4 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(325): humhub\components\bootstrap\ModuleAutoLoader->bootstrap()
#5 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(271): yii\base\Application->bootstrap()
#6 /var/www/humhub/protected/vendor/yiisoft/yii2/console/Application.php(124): yii\base\Application->init()
#7 /var/www/humhub/protected/humhub/components/console/Application.php(94): yii\console\Application->init()
#8 /var/www/humhub/protected/vendor/yiisoft/yii2/base/BaseObject.php(109): humhub\components\console\Application->init()
#9 /var/www/humhub/protected/vendor/yiisoft/yii2/base/Application.php(204): yii\base\BaseObject->__construct()
#10 /var/www/humhub/protected/vendor/yiisoft/yii2/console/Application.php(89): yii\base\Application->__construct()
#11 /var/www/humhub/protected/humhub/components/console/Application.php(52): yii\console\Application->__construct()
#12 /var/www/humhub/protected/yii(28): humhub\components\console\Application->__construct()
#13 {main}
@luke-
Copy link
Contributor

luke- commented May 3, 2023

Thanks for the info. Was this triggered during the update phase? Maybe the gallery module was accessed during the update?

@felixhahnweilheim
Copy link
Author

Yes, it was triggered during (or shortly after) updating a row of modules with the "Update all" button.
It's very unlikely someone accessed the gallery the same time.

I just downgraded the module manually to version 1.5.2 and did the update to 1.5.3 again. This time no error occured. So maybe it was just some server problem exactly at the same time.

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

No branches or pull requests

2 participants