Describe the bug
After upgrade to 5.1.22, the Get more plugins window can not be opened/loaded.
I can not find clear error message in devtools and command line logs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Can open the plugins list page
Screenshots

Desktop (please complete the following information):
Start by
/usr/bin/tiddlywiki --listen port=8181 "root-tiddler=$:/core/save/lazy-images"
````
Tiddlywiki.info
```json
{
"plugins": [
"tiddlywiki/blog",
"tiddlywiki/codemirror",
"tiddlywiki/codemirror-autocomplete",
"tiddlywiki/codemirror-closebrackets",
"tiddlywiki/codemirror-closetag",
"tiddlywiki/codemirror-fullscreen-editing",
"tiddlywiki/codemirror-keymap-vim",
"tiddlywiki/codemirror-mode-css",
"tiddlywiki/codemirror-search-replace",
"tiddlywiki/d3",
"tiddlywiki/filesystem",
"tiddlywiki/highlight",
"tiddlywiki/internals",
"tiddlywiki/jszip",
"tiddlywiki/katex",
"tiddlywiki/markdown",
"tiddlywiki/menubar",
"tiddlywiki/pluginlibrary",
"tiddlywiki/railroad",
"tiddlywiki/tiddlyweb"
],
"themes": [
"tiddlywiki/vanilla",
"tiddlywiki/snowwhite"
],
"build": {
"renderfull": [
"--rendertiddler", "$:/core/save/all", "index_full.html", "text/plain"
],
"render": [
"--rendertiddler", "$:/core/save/lazy-images", "index_without_img.html", "text/plain"
],
"index": [
"--rendertiddler",
"$:/core/save/all",
"index.html",
"text/plain"
],
"empty": [
"--rendertiddler",
"$:/core/save/all",
"empty.html",
"text/plain",
"--rendertiddler",
"$:/core/save/all",
"empty.hta",
"text/plain"
],
"externalimages": [
"--savetiddlers",
"[is[image]]",
"images",
"--setfield",
"[is[image]]",
"_canonical_uri",
"$:/core/templates/canonical-uri-external-image",
"text/plain",
"--setfield",
"[is[image]]",
"text",
"",
"text/plain",
"--rendertiddler",
"$:/core/save/all",
"externalimages.html",
"text/plain"
],
"static": [
"--rendertiddler",
"$:/core/templates/static.template.html",
"static.html",
"text/plain",
"--rendertiddler",
"$:/core/templates/alltiddlers.template.html",
"alltiddlers.html",
"text/plain",
"--rendertiddlers",
"[!is[system]]",
"$:/core/templates/static.tiddler.html",
"static",
"text/plain",
"--rendertiddler",
"$:/core/templates/static.template.css",
"static/static.css",
"text/plain"
]
},
"config": {
"retain-original-tiddler-path": true
}
}
I had the same problem before, I have installed Kookma plugin library and main plugin library.
But after the upgrade, only the Kookma plugin library remains.
So I have to recreate the main plugin library by hand. You can do that too.
Just add a tiddler with title $:/config/OfficalPluginLibrary and tag $:/tags/PluginLibrary and a caption Offical Plugin Library and a url https://tiddlywiki.com/library/v5.1.22/index.html and text The official TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team..
Then the problem will be solved.
But it is still weird that upgrading npm package tiddlywiki will remove the OfficalPluginLibrary
Your solution works, thanks a lot.
Your solution works for me too, @linonetwo! Thanks!
I've fixed the bug by copying the /tiddlers/$__config_OfficalPluginLibrary.tid file of the official Tiddlywiki repository in my local Tiddlywiki project.
$__config_OfficalPluginLibrary.tid:
title: $:/config/OfficialPluginLibrary
tags: $:/tags/PluginLibrary
url: https://tiddlywiki.com/library/v5.1.22/index.html
caption: {{$:/language/OfficialPluginLibrary}}
{{$:/language/OfficialPluginLibrary/Hint}}
This seems to be intentional, but communicated poorly. The present $:/config/OfficalPluginLibrary tiddler says
(This core tiddler is overridden by the tiddlyweb plugin to prevent users from installing official plugins via control panel. Instead they should be installed by editing tiddlywiki.info in the root of the wiki folder)
which I'm fine with, but upon clicking Get more plugins one should be presented with this message instead of a blank window.
@KendrickLamarck Oh, I didn't know that!
But I think clicking button to upgrade and install plugin is more comfortable for me, compare to manually download things, extract zip and put into the folder and edit config file...
@linonetwo Are you talking about plugins from the official tiddlywiki/ plugin library? Because in that case, no downloading or unzipping is required. Simply edit the config file, start the server and the plugins will be there.
Thanks everyone, and sorry for the confusion. As @KendrickLamarck says, this is intentional. When using the client-server configuration plugins from the official plugin library should be installed in tiddlywiki.info. Using the browser-based plugin installer means that the plugin is installed as a regular tiddler, and won't be upgraded when the TW installation is upgraded.
I'll have a look at making a warning message visible.
Most helpful comment
I had the same problem before, I have installed Kookma plugin library and main plugin library.
But after the upgrade, only the Kookma plugin library remains.
So I have to recreate the main plugin library by hand. You can do that too.
Just add a tiddler with title
$:/config/OfficalPluginLibraryand tag$:/tags/PluginLibraryand a captionOffical Plugin Libraryand a urlhttps://tiddlywiki.com/library/v5.1.22/index.htmland textThe official TiddlyWiki plugin library at tiddlywiki.com. Plugins, themes and language packs are maintained by the core team..Then the problem will be solved.