Skip to content

Can’t update Humhub to Version 1.17.0. #389

@nrozeboom

Description

@nrozeboom

For my humhub installation I used a docker compose file that contains the humhub image from you. It works, but the Humhub Version it installed me is a bit out of date. I would like to update it to the newest version, but there I get an error message:

yii\base\ErrorException: rename(): The first argument to copy() function cannot be a directory in /var/www/localhost/htdocs/protected/modules/updater/libs/UpdatePackage.php:233 Stack trace: #0 [internal function]: yii\base\ErrorHandler->handleError() #1 /var/www/localhost/htdocs/protected/modules/updater/libs/UpdatePackage.php(233): rename() #2 /var/www/localhost/htdocs/protected/modules/updater/modules/packageinstaller/controllers/InstallController.php(87): humhub\modules\updater\libs\UpdatePackage->install() #3 [internal function]: humhub\modules\updater\modules\packageinstaller\controllers\InstallController->actionInstallFiles() #4 /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array() #5 /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/Controller.php(178): yii\base\InlineAction->runWithParams() #6 /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/Module.php(552): yii\base\Controller->runAction() #7 /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction() #8 /var/www/localhost/htdocs/protected/vendor/yiisoft/yii2/base/Application.php(384): yii\web\Application->handleRequest() #9 /var/www/localhost/htdocs/index.php(28): yii\base\Application->run() #10 {main}

Now I can’t update my Humhub to Version 1.17.0.

Also I worry that when I restart humhub with docker compose it will return to the old version again.

Can you advise me here?

I used the humhub installation guide (that includes docker image from mriedmann) from here:

https://github.com/martdj/Humhub/tree/main

Many thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions