作者:机敏的柑桔hs5 | 来源:互联网 | 2023-08-14 23:25
I am not using the git / composer version. Updating per documentation by replacing files and running yii migration at command line.
I can successfully replace files and run command line, however my install no longer works. Logs from the server indicate the following files are missing:
/var/www/humhub/resources/font-awesome/css/font-awesome.min.css
/var/www/humhub/js/jquery.timeago.js
/var/www/humhub/js/jquery.knob.min.js
/var/www/humhub/js/jquery.nicescroll.min.js
/var/www/humhub/js/jquery.placeholder.js
/var/www/humhub/js/jquery.iframe-transport.js
/var/www/humhub/js/jquery.ui.widget.js
/var/www/humhub/js/jquery.fileupload.js
The files exist in the 1.0.0-beta.2 download, but do not exist in the -beta.3 download file ( zip or tar ). Assuming oversight for missing files.
该提问来源于开源项目:humhub/humhub
So I figured this out finally. It's a caching problem. I cleared the NGINX caches but I forgot that Humhub uses it's own file cache. The file cache was using older references not being pointed following the update. They were still referencing the /js folder instead of the /assets folder.
Might need to add a comment to clear file based caching on upgrade or add an auto. The updater module might already have that built in, unsure.