Since there's a bunch of "upload_" files in the tmp directory, I was able to test:
mv upload_d4764ec4d05eef63b43af05f894554a7 /home/mint/test/mypic.jpg This worked (and it was the test jpg). Do you know if your server is using the equivalent of "mv" ? Or something lower-level? Thanks! -- Mark On Tuesday, April 3, 2018 at 9:37:18 AM UTC-7, Arlen Beiler wrote: > > Wow, interesting. > > SER-API 2018-04-03 09:16:32 EXDEV EXDEV: cross-device link not > permitted, rename '/tmp/upload_d4764ec4d05eef63b43af05f894554a7' -> > '/home/mint/Downloads/TiddlyServer-2.0.12/test/TW-Images/Bowline_on_a_bight.jpg' > > > Apparently, there is some caveat to Linux that makes this more than a > simple move command. I don't understand the inner workings of Linux though. > Try creating a test file in /tmp and then moving it to /home/mint. Let me > know which commands work and which don't. > > On Wed, Apr 4, 2018 at 12:20 AM, 'Mark S.' via TiddlyWiki < > tiddl...@googlegroups.com <javascript:>> wrote: > >> Here it is -- >> >> SER-API 2018-04-03 09:16:32 EXDEV EXDEV: cross-device link not >> permitted, rename '/tmp/upload_d4764ec4d05eef63b43af05f894554a7' -> >> '/home/mint/Downloads/TiddlyServer-2.0.12/test/TW-Images/Bowline_on_a_bight.jpg' >> /tmp/ >> upload_d4764ec4d05eef63b43af05f894554a7 >> [2018-04-03T09:16:32.874-0700] POST 127.0.0.1 302 127.0.0.1 / >> IMAGE_PATHS/TW-Images/?formtype=upload 9.164 ms - - >> [2018-04-03T09:16:32.894-0700] GET 127.0.0.1 200 127.0.0.1 / >> IMAGE_PATHS/TW-Images/?error=upload 0.863 ms - - >> [2018-04-03T09:16:33.054-0700] GET 127.0.0.1 304 127.0.0.1 / >> directory.css 0.428 ms - - >> [2018-04-03T09:16:33.062-0700] GET 127.0.0.1 304 127.0.0.1 / >> icons/folder.png 0.375 ms - - >> twboot-/home/mint/Downloads/TiddlyServer-2.0.12/test: 430.342ms >> [2018-04-03T09:16:47.829-0700] GET 127.0.0.1 200 127.0.0.1 / >> test/recipes/default/tiddlers.json 432.996 ms - - >> syncer-server-filesystem: Dispatching 'save' task: $:/StoryList >> filesystem: Saved file /home/mint/Downloads/TiddlyServer-2.0.12/test/ >> tiddlers/$__StoryList.tid >> >> Thanks! >> -- Mark >> >> >> On Tuesday, April 3, 2018 at 8:19:15 AM UTC-7, Arlen Beiler wrote: >>> >>> I'm sorry, I meant the terminal output from TiddlyServer. Meaning the >>> output from file descriptor 1 (stdout) from running the command "node >>> server.js". I don't know what you call it in Linux, but in Windows I would >>> just say the output from the command prompt. >>> >>> On Tue, Apr 3, 2018 at 9:52 PM, 'Mark S.' via TiddlyWiki < >>> tiddl...@googlegroups.com> wrote: >>> >>>> I was uploading an image. The error console says: >>>> >>>> we are insidehttp://127.0.0.1:8080/IMAGE_PATHS/TW-Images/?error=upload >>>> logsimple.js:15:3 The character encoding of the HTML document was not >>>> declared. The document will render with garbled text in some browser >>>> configurations if the document contains characters from outside the >>>> US-ASCII range. The character encoding of the page must be declared in the >>>> document or in the transfer protocol. >>>> >>>> It seems to think it was uploading an HTML file. >>>> >>>> Another question -- In the settings.json, is there a way to set >>>> lazy-loading and other command options? >>>> >>>> Thanks! >>>> -- Mark >>>> >>>> On Monday, April 2, 2018 at 10:23:40 PM UTC-7, Arlen Beiler wrote: >>>>> >>>>> Was there an error message in the console output? There should have >>>>> been something there. Most of the errors in TiddlyServer are printed to >>>>> console rather than returned to the client. >>>>> >>>>> On Tue, Apr 3, 2018 at 4:00 AM, 'Mark S.' via TiddlyWiki < >>>>> tiddl...@googlegroups.com> wrote: >>>>> >>>>>> Thanks, >>>>>> >>>>>> I'm using the latest (49.0.2) Firefox ( Linux). >>>>>> >>>>>> I had to do a draconian clean-out of all recent logins before it >>>>>> would work. Apparently this is one of those problems that have been >>>>>> allowed >>>>>> to simmer for more than a decade. >>>>>> >>>>>> I was not able to upload image files. I assume that you browse to the >>>>>> file and then "Submit Query" ?? It failed silently with no error message >>>>>> other than the end of the browser URL changing to "?error=upload" . >>>>>> >>>>>> Making a directory and making a directory as a data directory both >>>>>> worked. >>>>>> >>>>>> Thanks! >>>>>> Mark >>>>>> >>>>>> On Monday, April 2, 2018 at 1:18:58 AM UTC-7, Arlen Beiler wrote: >>>>>>> >>>>>>> That sounds like a browser problem. Search "clear basic auth >>>>>>> credentials in [your browser]". >>>>>>> >>>>>>> On Mon, Apr 2, 2018 at 12:23 PM, 'Mark S.' via TiddlyWiki < >>>>>>> tiddl...@googlegroups.com> wrote: >>>>>>> >>>>>>>> Thanks! >>>>>>>> >>>>>>>> Next problem. If you make a mistake entering your name password, >>>>>>>> you will get the "Wrong user or password" message. You will get this >>>>>>>> even >>>>>>>> if you stop and start the server. You get it even if you clear out the >>>>>>>> cookies. You get it even if you go into the settings file and set a >>>>>>>> new >>>>>>>> user name. There's apparently no forgiveness built in. What do I do to >>>>>>>> get >>>>>>>> it to reset? >>>>>>>> >>>>>>>> Thanks! >>>>>>>> -- Mark >>>>>>>> >>>>>>>> On Sunday, April 1, 2018 at 7:44:10 PM UTC-7, Arlen Beiler wrote: >>>>>>>>> >>>>>>>>> Make sure you are running Node version 6 minimum. >>>>>>>>> >>>>>>>>> On Sun, Apr 1, 2018 at 2:30 AM, 'Mark S.' via TiddlyWiki < >>>>>>>>> tiddl...@googlegroups.com> wrote: >>>>>>>>> >>>>>>>>>> I'm trying this on linux, but getting this error: >>>>>>>>>> >>>>>>>>>> SyntaxError: Unexpected token = >>>>>>>>>> at exports.runInThisContext (vm.js:53:16) >>>>>>>>>> at Module._compile (module.js:374:25) >>>>>>>>>> at Object.Module._extensions..js (module.js:417:10) >>>>>>>>>> at Module.load (module.js:344:32) >>>>>>>>>> at Function.Module._load (module.js:301:12) >>>>>>>>>> at Module.require (module.js:354:17) >>>>>>>>>> at require (internal/module.js:12:17) >>>>>>>>>> at Object.<anonymous> (/home/mint/Downloads/TiddlyServer-2.0. >>>>>>>>>> 12/src/server.js:6:24) >>>>>>>>>> at Module._compile (module.js:410:26) >>>>>>>>>> at Object.Module._extensions..js (module.js:417:10) >>>>>>>>>> >>>>>>>>>> With this settings file: >>>>>>>>>> >>>>>>>>>> { >>>>>>>>>> "tree": { >>>>>>>>>> "TW2014": "/media/mint/Acer/D/data/TW2014/", >>>>>>>>>> "test": "test/", >>>>>>>>>> "relative": "../relative_to_settings_file", >>>>>>>>>> "linux": "/home/ubuntu/", >>>>>>>>>> "branch": { >>>>>>>>>> "twig1": "C:/Some Folder", >>>>>>>>>> "twig2": "C:/Some Other Folder" >>>>>>>>>> } >>>>>>>>>> }, >>>>>>>>>> "types":{ >>>>>>>>>> "htmlfile": ["htm", "html"] >>>>>>>>>> }, >>>>>>>>>> "username": "MAS", >>>>>>>>>> "password": "", >>>>>>>>>> "host": "127.0.0.1", >>>>>>>>>> "port": 8080, >>>>>>>>>> "backupDirectory": "", >>>>>>>>>> "etagWindow": 0, >>>>>>>>>> "etag": "", >>>>>>>>>> "useTW5path" : false >>>>>>>>>> } >>>>>>>>>> >>>>>>>>>> What am I doing wrong? >>>>>>>>>> >>>>>>>>>> Thanks! >>>>>>>>>> Mark >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> On Wednesday, March 7, 2018 at 6:09:51 AM UTC-8, Arlen Beiler >>>>>>>>>> wrote: >>>>>>>>>>> >>>>>>>>>>> Hello Everyone, >>>>>>>>>>> >>>>>>>>>>> I'm pleased to announce a new release of TiddlyServer that now >>>>>>>>>>> supports file uploads to the directory you are currently browsing. >>>>>>>>>>> Scroll >>>>>>>>>>> to the bottom of the directory index page and you will see an >>>>>>>>>>> upload area. >>>>>>>>>>> >>>>>>>>>>> Beware that uploading a tiddlywiki.info file to any directory >>>>>>>>>>> will immediately make it inaccessible and turn it into a TiddlyWiki >>>>>>>>>>> data >>>>>>>>>>> folder. The only way to fix this is to delete or rename the >>>>>>>>>>> tiddlywiki.info file. The folder should not be affected >>>>>>>>>>> otherwise, except it will probably have a tiddlers folder created >>>>>>>>>>> inside >>>>>>>>>>> it. >>>>>>>>>>> >>>>>>>>>>> So if you want to make a data folder using a custom >>>>>>>>>>> tiddlywiki.info file, just create the directory, enter it, then >>>>>>>>>>> upload a tiddlywiki.info file. >>>>>>>>>>> >>>>>>>>>>> As always, you can download the latest release from >>>>>>>>>>> https://github.com/Arlen22/TiddlyServer/releases >>>>>>>>>>> >>>>>>>>>>> Enjoy! >>>>>>>>>>> Arlen >>>>>>>>>>> >>>>>>>>>>> All praise to Jesus. >>>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> 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 tiddlywiki+...@googlegroups.com. >>>>>>>>>> To post to this group, send email to tiddl...@googlegroups.com. >>>>>>>>>> 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/ce8c14c9-9099-4bbf-b753-8c68e4dc94c5%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/ce8c14c9-9099-4bbf-b753-8c68e4dc94c5%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 tiddlywiki+...@googlegroups.com. >>>>>>>> To post to this group, send email to tiddl...@googlegroups.com. >>>>>>>> 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/6ba73793-b232-407c-9730-24660977ee2a%40googlegroups.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/6ba73793-b232-407c-9730-24660977ee2a%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 tiddlywiki+...@googlegroups.com. >>>>>> To post to this group, send email to tiddl...@googlegroups.com. >>>>>> 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/8f0a4158-53c5-4d03-8849-ac8eed73bd6a%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/tiddlywiki/8f0a4158-53c5-4d03-8849-ac8eed73bd6a%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 tiddlywiki+...@googlegroups.com. >>>> To post to this group, send email to tiddl...@googlegroups.com. >>>> 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/cc771682-89de-490d-a8d6-e072f2a292b3%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tiddlywiki/cc771682-89de-490d-a8d6-e072f2a292b3%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 tiddlywiki+...@googlegroups.com <javascript:>. >> To post to this group, send email to tiddl...@googlegroups.com >> <javascript:>. >> 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/21b0f76c-befb-4639-a97c-d61bc78327b7%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/21b0f76c-befb-4639-a97c-d61bc78327b7%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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/b5f1c174-50e5-4b99-a1fd-eac1492b29e1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.