![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Calibre-server leaves temp(?) folder
I start the server in a Win10 command box and it seems to create a temp folder (calibre_eph8hd for instance) at the same tree level as the main database. Different name every time
When I close the cmd box the folder is left. Always seems to be empty Is there a setting to change? Deleting manually works, but it is unexpected behavior |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,658
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
For me the temp folder is created in the directory to which I have the environment variable CALIBRE_TEMP_DIR set, which is C:\_Calibre\Temporary.
If you were to set CALIBRE_TEMP_DIR to the Library folder that would result the temp folders appearing there, when you run the GUI is a temp folder created in the same directory. Probably not a good idea to use the Library folder as a place to store calibre's temporary files. If you run Check Library it would report calibre_eph8hd as an orphaned Author ![]() And you're right, the folder isn't removed when the server is closed. Possibly because Windows does not allow calibre servers started via cmd.exe to be terminated 'gracefully' . One of Kovid's posts in one of your other server related threads suggests this may change with calibre 3.0. BR Last edited by BetterRed; 09-29-2016 at 05:49 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Quote:
Just started to play with server since I read so many nice things about it here |
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,658
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Still odd - unless redirected by CALIBRE_TEMP_DIR, I would expect the temporary folder to be created at %USERPROFILE%\AppData\Local\Temp
I can't recall where where calibre puts its default library, maybe %USERPROFILE%\Documents, which is a long way from %USERPROFILE%\AppData\Local\Temp. But wherever it is, afaik, a server started via cmd doesn't remove its temp folder when the cmd process is terminated. Don't get too emotionally attached to the server as it is now, the new one could be quite different ![]() BR |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,246
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
|
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,658
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FWIW: I run a server against each of three libraries concurrently, sometimes for days on end without any issues at all. Use is lightweight - often its just to look at metadata, occasionally to read a 'book' - but no mass downloads over the air to devices etc.
Works like a charm. Added : Another advantage for me is that I often want to run a calibre portable for experimental purposes, I don't like adding PI's or changing settings to my 'production' environment. BR Last edited by BetterRed; 09-29-2016 at 05:31 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
image url looking in temp folder for file | david_f1 | Sigil | 23 | 08-01-2016 03:40 PM |
calibre server root folder | josh.p.23 | Related Tools | 7 | 04-01-2016 12:11 PM |
Conversion and Temp folder issues | OscarWilde | Calibre | 7 | 11-16-2013 07:45 PM |
Calibre content server -- save to a folder? | Woodstonian | Kobo Reader | 1 | 11-02-2012 08:18 PM |
Calibre files left in Temp folder | itimpi | Calibre | 8 | 05-06-2009 06:15 AM |