Arlen22 / TiddlyServer

v2 - A static file server that can also save files and mount TiddlyWiki folders
https://arlen22.github.io/tiddlyserver/
MIT License
257 stars 36 forks source link

Upload failed on linux with EXDEV: cross-device link not permitted #105

Closed nemocorp closed 2 years ago

nemocorp commented 3 years ago

When uploading a file with tiddlyserver interface on linux, the "EXDEV: cross-device link not permitted" error is raised and the upload failed.

When looking in /tmp, all the upload attempts are stucked here.

best regards settings.json.txt

Arlen22 commented 3 years ago

This definitely sounds like a bug. Thanks for bringing it to my attention.

Arlen22 commented 3 years ago

Which is the version number of TiddlyServer you have installed? You can find it at the end of any directory index page.

nemocorp commented 3 years ago

TiddlyServer v2.2.0-alpha-7

Arlen22 commented 3 years ago

Thanks for the feedback. I'm working on a fix for this right now.

Arlen22 commented 3 years ago

Ok, I pushed an update to NPM. It should be fixed now.

Arlen22 commented 3 years ago

It will now upload directly to the destination directory and then rename the file once it's done uploading instead of uploading to the temp directory.

nemocorp commented 3 years ago

It works like a charm. Thanks for your reactivity.

Great job ;)

nemocorp commented 3 years ago

Upload page still display TiddlyServer v2.2.0-alpha-7 but TiddlyServer v2.2.0-alpha-8 is actually in use