Skip to content

Commit

Permalink
Don't rebuilt search index after update anymore
Browse files Browse the repository at this point in the history
With version 1.16 the search index is rebuilt automatically after updates: https://docs.humhub.org/docs/admin/updating-migration#116

This also fixes an issue with the 1.16 version of the image: #356 (comment)
  • Loading branch information
mueller-ma authored and mriedmann committed Aug 6, 2024
1 parent 95ce9be commit 87bd180
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ if [ -f "/var/www/localhost/htdocs/protected/config/dynamic.php" ]; then
if [ "$INSTALL_VERSION" != "$SOURCE_VERSION" ]; then
echo >&3 "$0: Updating from version $INSTALL_VERSION to $SOURCE_VERSION"
php yii migrate/up --includeModuleMigrations=1 --interactive=0
php yii search/rebuild
cp -v /usr/src/humhub/.version /var/www/localhost/htdocs/protected/config/.version
fi
else
Expand Down

0 comments on commit 87bd180

Please sign in to comment.