-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync error while processing save of '$:/StoryList #121
Comments
Can you check whether this file exists? All relative paths in the config file are relative to the config file, not the working directory, so make sure that you have that properly configured and in the correct place. |
Hi Arlen,
Thanks for the quick response.
My directory tree looks like this:
home/Dropbox/Golden Age Radios
wiki
tiddlers (directory that has been serving my tiddlywiki content)
tiddlyserver.json
Currently my tiddlyserver.json contains:
{
"tree": "./tiddlers",
"debugLevel": 2,
"bindInfo": {
"bindWildcard": true
},
"$schema": "./settings-2-2.schema.json"
}
I can execute
***@***.***:~/Dropbox/Golden Age Radios/wiki$ tiddlyserver --config tiddlyserver.json
and I no longer get an error but, when I put "localhost:8080" in my browser, I get a file listing of my tiddlers instead of the tiddlywiki itself. How do I get the server to distinguish between static content and a tiddlywki? The config documentation is not very clear on this.
Thanks,
Alan
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Saturday, July 31st, 2021 at 6:50 PM, Arlen22 ***@***.***> wrote:
Can you check whether this file exists? /usr/local/lib/node_modules/tiddlyserver/datafolder/tiddlers/$__StoryList.tid.
All relative paths in the config file are relative to the config file, not the working directory, so make sure that you have that properly configured and in the correct place.
—
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](#121 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ACYV2RR6BREPXZABFOE4SYDT2R42HANCNFSM5BKBJ4YA).
|
I apologize for dropping this. Obviously the first solution is to put the wiki down one level with |
Oh, I just realized part of the problem. Your config file needs to refer to the root data folder where the tiddlywiki.json file is, not the tiddlers folder inside it. |
Hi @Arlen22 I am puzzled - I have the same error. I just started using TiddlyServer and have no problems with single-file tiddlywikis. I wanted to create a new server wiki (files in a folder) so I generated "tree": {
"my": "../../Sync/My",
"projects": {
"grok": "~/Sync/TiddlyProjects/Grok",
"office": "~/Sync/TiddlyProjects/Office" // <-- here
} (everything else is like in defaults except backup I find the file created: 20220102160216330
list: [[Saving test]] GettingStarted
modified: 20220102160216339
title: $:/StoryList
type: text/vnd.tiddlywiki (the wiki saves fine, cf. Finally, if I create an empty
(new filename with Thanks for reading so far, Álvaro. |
So I was seeing the same errors after trying to set up TiddlyServer on an Ubuntu 20.04 server. Originally I had installed nodjs through apt-get, but that installs a pretty old version of both node (10.19) and npm (6.something). I removed the packaged versions of node / npm and reinstalled the latest versions through asdf. That cleared the errors. |
Had this issue too. Bit weird. Why's it trying to sync there? I ended up uninstalling from global. Then I did a local install creating a node_modules directory sibling w/ my wiki directories and the config.json. No more sync errors Less convenient now since tiddlyserver won't be in your path. It'll be in: |
I'll check this. It sounds like the blank data folder that gets copied in when you click the new datafolder button is somehow being loaded, which isn't supposed to happen. |
When you say new datafolder button do you mean just clicking the link to open an empty wiki? Or is there an actual button? If there is a button I haven't seen it. And if it's supposed to auto copy a blank wiki that didn't seem to work for me.(portable or global) I used tiddlywiki init server to create the blank. I also ended up redoing everything and following your portable install instructions and that works perfectly. No problems at all been using it for a bit now hosting mixed single file / server mode. BTW on the portable install what does --save-exact do? Global install I get the sync error, but portable works great. Thank you! Awesome server for going crazy with too many tiddlywikis :) |
Hi,
I just moved to from Mint 19.1 to Mint 20.1 and installed the latest Node.JS and TiddlyServer applications (2.2.0-beta-4). The Tiddlers directory is unchanged and my configuration file is attached.
tiddlyserver .json.removethis.txt
Starting TiddlyServer using: tiddlyserver --config tiddlyserver.json The following error occurs every few seconds
syncer-server-filesystem: Dispatching 'save' task: $:/StoryList
Sync error while processing save of '$:/StoryList': Error: ENOENT: no such file or directory, open '/usr/local/lib/node_modules/tiddlyserver/datafolder/tiddlers/$__StoryList.tid'
Bug or user error?
The text was updated successfully, but these errors were encountered: