New theme problems
-
@julian No errors that I saw. Just old ones:
Should I try
npm uninstall nodebb-theme-lavendar && npm install nodebb-theme-lavendar
?EDIT: Did that and
nodebb-theme-lavender-0.0.25-16.tgz
was installed. Same problem. -
@julian I think I've tracked down the problem. I completely restored the
nodebb
directory as of Tuesday using a backup, and the page renders fine. I think I was unable to upgrade properly before, and probably missed this error:git pull Updating 8839780..e2312c8 error: Untracked working tree file 'docs/modules/index.rst' would be overwritten by merge. Aborting git status # On branch master # Your branch is behind 'origin/master' by 86 commits, and can be fast-forwarded. # # Changed but not updated: # (use "git add <file>..." to update what will be committed) # (use "git checkout -- <file>..." to discard changes in working directory) # # modified: public/vendor/jquery/timeago/locales/jquery.timeago.uz.js # # Untracked files: # (use "git add <file>..." to include in what will be committed) # # docs/modules/ # npm-shrinkwrap.json # socket.log # src/user/auth.js no changes added to commit (use "git add" and/or "git commit -a")
After which I blindly ran npm update and it may have pulled some incompatible packages. Thus, if we can fix the git pull error then I can pull the latest code and safely run
./nodebb upgrade
, right? -
@julian I had no idea that I did. I think somehow I must have got on master around v0.4.2, which is my current nodebb version:
git branch list * master
@a_5mith Thanks. I tried your suggestion.
git stash No local changes to save git checkout v0.4.x error: Untracked working tree file 'docs/modules/index.rst' would be overwritten by merge.
Thus I didn't yet do:
git pull ./nodebb upgrade ./nodebb restart
-
I no longer get the lavender error! But it still skips the widget migration, which may be what's messing up the theme.
./nodebb upgrade npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field. info trying registry request attempt 1 at 22:35:28 http GET https://registry.npmjs.org/nodebb-theme-vanilla info trying registry request attempt 1 at 22:35:28 http GET https://registry.npmjs.org/nodebb-theme-lavender http 304 https://registry.npmjs.org/nodebb-theme-vanilla http 304 https://registry.npmjs.org/nodebb-theme-lavender [email protected] node_modules/nodebb-theme-lavender [email protected] node_modules/nodebb-theme-vanilla info: NodeBB v0.4.3 Copyright (C) 2013-2014 DesignCreatePlay Inc. info: This program comes with ABSOLUTELY NO WARRANTY. info: This is free software, and you are welcome to redistribute it under certain conditions. info: info: Beginning database schema update info: [2014/2/19] Updating MOTD to use the HTML widget - skipped info: [2014/2/20] Adding Recent Replies, Active Users, and Moderator widgets to category sidebar - skipped info: [2014/2/20] Adding Forum Stats Widget to the Homepage Footer - skipped info: [2014/2/20] Updating Lavender MOTD - skipped info: [2014/2/20] Activating NodeBB Essential Widgets - skipped info: [2014/2/22] Added categories to sorted set - skipped info: [2014/3/18] Migrating Markdown settings to new configuration - skipped info: [2014/3/21] Removing gids and pruning groups - skipped info: [2014/3/31] Re-adding copyright message into global footer widget - skipped info: [2014/4/1] Moved home sidebar widgets into draft zone - skipped info: [2014/4/2] Moved deprecated vanilla footer widgets into draft zone - skipped info: [upgrade] Schema already up to date! NodeBB Dependencies up-to-date!