Just quick look but here is my minimalist one I reverted to after
complexity in fixing the settings.json
I am binding to an additional IP address on my computer to not clash with
127.0.0.1
{
"tree": {
"Home": "C:\\Data\\TW5\\Hosting\\TiddlyServer-2.1\\index.html",
"Instances": "C:\\Data\\TW5\\Instances",
"IndexWikis": "C:\\Data\\TW5\\indexWikis",
"PSaT Business": "C:\\Data\\TW5\\PSaT",
"PSaT Development": "C:\\Data\\TW5\\PSaTDev",
"Development": "C:\\Data\\TW5\\Development",
"EmptyWikis": "C:\\Data\\TW5\\EmptyFiles",
"Clients": "C:\\Users\\antho\\Documents\\Business\\PSaT\\Clients",
"WebDav": "C:\\Users\\Public\\Documents\\tw",
"Node": "C:\\Data\\TW5\\NodeJS",
"Editions": "C:\\Data\\TW5\\editions",
"Pictures": "C:\\Users\\antho\\Pictures\\TiddlyWiki\\",
"!Root": "C:\\Users\\antho\\Documents\\!Root",
"!Windows Documents": "C:\\Users\\antho\\Documents",
"!Windows Disk": "C:\\",
"ScratchArea": "C:\\Data\\ScratchArea",
"lib": "C:\\Data\\lib"
},
"bindInfo": {"bindAddress": ["192.168.1.81"], "port": 80 },
"putsaver": {"backupFolder": "C:\\Data\\TW5\\backups"},
"$schema": "./settings-2-1.schema.json"
}
On Saturday, November 16, 2019 at 10:18:04 PM UTC+11, JPtech250 wrote:
>
> Hey everyone,
>
> I'm trying to find an easy to edit my TW file, and I have previously used
> an older version of TiddlyServer with success.
>
> Now that I'm on a new Windows machine (win 10), I installed *TiddlyServer
> v.2.1.5 *coupled with *Node.js v. LTS Version 12.13.0. *So, in short,
> here is the summary of my specs:
>
> *Specs*
>
> - Windows 10 OS
> - TiddlyServer v.2.1.5
> - Node.js v. LTS Version 12.13.0
>
>
> *Successful Upgrade of settings.json*
> Once I installed Node.js, I then followed the instructions to upgrade the
> *settings.json* file, which worked successfully. Confirmation below:
>
> ---------------------------------------------------------
> C:\Users\USER\Documents\TiddlyServer>node upgrade-settings.js
> settings.json settings1.json
>
> ============================================
> == Upgrade TiddlyServer from 2.0 to 2.1. ==
> ============================================
> Syntax: node upgrade-settings.js old.json new.json
> The new settings file must not exist.
> useTW5path is always true in v2.1, meaning that
> data folders are always loaded with a slash. If you
> still want to load datafolders without a trailing
> slash, set the noTrailingSlash property for the
> parent folder specified in the tree.
>
> Successfully converted settings. The new file is
> C:\Users\USER\Documents\TiddlyServer\settings1.json
> ---------------------------------------------------------
>
> After this, I renamed settings1.json to settings.json
>
>
> *Issue*
> When I try to run Node, I receive the error: "uncaught error during
> server startup, ServerConfig did not pass validator"
>
> Details below, which is captured from CMD output.
> ---------------------------------------------------------
> C:\Users\USER\Documents\TiddlyServer>node server.js
> Settings file: C:\Users\USER\Documents\TiddlyServer\settings.json
> {
> "bindInfo": {
> "localAddressPermissions": {
> "localhost": {
> "settings": "property is unexpected",
> "WARNING_all_settings_WARNING": "property is unexpected"
> },
> "*": {
> "settings": "property is unexpected",
> "WARNING_all_settings_WARNING": "property is unexpected"
> }
> }
> }
> }
> uncaught error during server startup
> ServerConfig did not pass validator
> exiting
> ---------------------------------------------------------
>
> I have attached a copy of my settings.json file for reference.
>
> Thoughts on how to resolve?
>
> Thanks!
> JP
>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/03f6cd54-5715-461e-a5ba-53702d4a3b78%40googlegroups.com.