Hi everyone,
doing some digging, i'll come accross this post and I still have the same
problem with the last version of tiddlyserver and tiddlywiki 5.1.22
SER-DIR 2020-11-26 09:29:22 EXDEV EXDEV: cross-device link not permitted,
rename '/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7' ->
'/home/gotham/tiddlywiki/static/2.png'
/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
[2020-11-26T09:29:22.921+-100] POST 10.199.1.81 302 172.31.59.2
/static/?formtype=upload 222.485 ms - -
[2020-11-26T09:29:22.989+-100] GET 10.199.1.81 200 172.31.59.2
/static/?error=upload 5.617 ms - 6751
All the uploads attempts are stucked in /tmp
/tmp/upload_170ed61a8a33c28cf471e0e2ac4a57d1
/tmp/upload_2d1e4d42db23f6d8915771c3d290287c
/tmp/upload_772ed0a3a194f1bef4b4be3b224264c5
/tmp/upload_ecf1c0800f34062e51adaf27b578801b
/tmp/upload_1a67407c3594e7185a0efeff00ca3a36
/tmp/upload_4d40d55cbdcdf8ec8badde64e442819f
/tmp/upload_add9e6cfbb11b251a9b55aabcd1245f7
/tmp/upload_1cb9f2c4b30f31f7895cfd70c5e9a5bb
/tmp/upload_66325f02269f2436c2cc6ccf3ce44691
/tmp/upload_aeed7111924de407654a35290611f92d
Thanks in advance for your Help
Le dimanche 8 avril 2018 à 02:56:30 UTC+2, [email protected] a écrit :
> The XHR error is due to a code bug in TiddlyWiki. It happens when the
> server discovers the TiddlyServer is newer on disk than the one in the
> browser. I added an etagWindow setting to settings.json to mitigate this
> problem.
>
> I'll check into the file copy fall back. Thank you.
>
> On Sun, Apr 8, 2018 at 2:02 AM, 'Mark S.' via TiddlyWiki <
> [email protected]> wrote:
>
>> Every so often I consider switching to Linux. It never works, eventually
>> there are programs and drivers I need, even though Linux mostly gets better.
>>
>> I was running on a persistent USB stick. Actually, 2 sticks, with one
>> dedicated for persistence. I didn't tweak any Linux Mint settings other
>> than to allow persistence in the grub boot.
>>
>> On another note, changing the IP to 0.0.0.0 didn't allow universal
>> connect. I had to find and insert my local IP number in order to get other
>> devices to connect. One of the devices eventually had an error in a
>> TiddlyWiki file, suggesting that the set-up might not be robust. Think it
>> was a RSOE with something about XHR.
>>
>> Thanks!
>> -- Mark
>>
>> On Saturday, April 7, 2018 at 10:32:26 AM UTC-7, jwd wrote:
>>>
>>>
>>> Arlen, I suggest you look at https://stackoverflow.com/a/8579946/1124740
>>> - the second comment: "This will not work if you are crossing
>>> partitions or using a virtual filesystem not supporting moving files. You
>>> better use this solution <http://stackoverflow.com/a/29105404/532695>
>>> with a copy fallback" which links to a less (currently) accepted answer
>>> to the same question
>>> https://stackoverflow.com/questions/8579055/how-do-i-move-files-in-node-js/29105404#29105404
>>>
>>>
>>> On Linux /tmp is often 'mounted' in RAM to increase speed. Google
>>> suggests MINT users often do this though I can't say if that is the default
>>> with MINT or something Mark has done with his installation. That would make
>>> your fs.rename (line 160 of tiddlyserver.ts) fail since you can't rename a
>>> file from one filesystem to another, you have to actually copy the bits
>>> and, on success unlink (remove) the original file as the alternative
>>> solution on stackoverflow does.
>>>
>>> Thanks for continuing to maintain TiddlyServer.
>>>
>>> --
>> 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 post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/tiddlywiki.
>>
> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/e048ab9f-b277-4451-8c4f-9d1109be9410%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/tiddlywiki/e048ab9f-b277-4451-8c4f-9d1109be9410%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>
>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
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/26d0ba6d-eac0-4398-abfb-877df3a9128cn%40googlegroups.com.