Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 05-05-2017, 09:40 PM   #16
Rouge One
Connoisseur
Rouge One began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Jan 2017
Device: Kindle Paperwhite
Quote:
Originally Posted by sherman View Post
Hi folks, I thought I'd share with you my method of running the standalone calibre content server at windows startup.

This particular method works for Windows Vista/7, and probably XP as well. It may not be the only way to accomplish this task either.

The Steps

Open the Task Scheduler (Start orb > type "task" in the search > select "Task Scheduler" from list)

Choose "Create Task" from the menu at right.

Give the task a meaningful name and description.

Select the "Run whether user is logged in or not" radio button.

On the "Triggers" tab, create a new trigger. From the dropdown list at the top select "Startup", and click "Ok".

On the "Actions" tab, create a new Action. You want to "Start a program". In the "Program/Script" box, insert the location of the calibre-server program. This can usually be found in the following places:
32-bit Windows: C:\Program Files\Calibre2\calibre-server.exe
64-bit Windows: C:\Program Files (x86)\Calibre2\calibre-server.exe
If you want to pass additional options to calibre-server (eg: username/password), put these in the "Add arguments (optional)" box. Refer to the calibre-server help for information on these options. Click "Ok"

If your PC is going to be on for several days at a time, select the "Settings" tab. Uncheck the checkbox that says "Stop the task if it runs longer than:".

Click "Ok" to create the new task. You will be asked for your Windows User password - put this in to complete creating the task.

Now, either right-click the task and choose "Run" or reboot the PC to run the task.

Finally, to ensure the content server can be accessed over the network, we need to add calibre-server to the list of exceptions in the Windows Firewall. Somewhere within the Vista/7 control panel or security center there is an option to "Allow a program through Windows Firewall". Click the "Add another program", browse to the location of calibre-server.exe and add it.


So why would I want to do this?

Running the Standalone content server is useful if you don't want to have the main calibre program running constantly. Running calibre-server by double clicking it however means that you have a constand command window taking up space. You also have to remember to run it whenever you log in.
Calling it from a batch file placed in the startup folder also works, but again, you still have a command window floating around. Also both methods require you to login to your system.
Using the task scheduler method brings the content server up at Windows startup, without requireing the user to be logged in, and doesn't display a command window.

Of course, if Kovid were to implement running the content server as a windows service....
How do I add this through Windows Firewall on Windows 10 because it gives me this message under Allow apps to communicate through Windows Firewall:
'Standalone Calibre content server ' is already in the list of exceptions.
Rouge One is offline   Reply With Quote
Old 08-02-2017, 01:54 PM   #17
daveman
Member
daveman began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2012
Device: Kobo Glo
I would like to see this as an option in the Calibre settings. Any chance a future update can incorporate a "start content server on Windows Startup" option?
daveman is offline   Reply With Quote
Advert
Old 08-02-2017, 06:44 PM   #18
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,276
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Simply add calibre to your startup programs in windows and In Preferences->Sharing under the net tell calibre to run the server on startup.
kovidgoyal is offline   Reply With Quote
Old 08-04-2017, 07:57 AM   #19
daveman
Member
daveman began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2012
Device: Kobo Glo
kovidgoyal - Thanks but I want to just run the content server in the background without running the full calibre. That is how my media servers run...

Dave
daveman is offline   Reply With Quote
Old 08-04-2017, 09:14 AM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,276
Karma: 27111060
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Why does running the full calibre bother you in some way? It does not use any more resources than running just the calibre-server executable.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-17-2017, 02:14 PM   #21
daveman
Member
daveman began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Nov 2012
Device: Kobo Glo
Hi kovidgoyal.

I was just updating some settings and see that you are from Mumbai. I am heading to India with my family and will be there at the end of the month as I am touring India. Anyways, just wanted to let you know that Calibre is an amazing pgm.

One issue that I have is how can we access the library if our Public IP address changes? Any plans to create a system that can deal with changing IP addresses?
daveman is offline   Reply With Quote
Old 12-17-2017, 03:20 PM   #22
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,410
Karma: 78880114
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Just use a dynamic DNS client on your PC. This will allow you to register a DNS name for your device and update the associated IP address if it changes. For instance see http://www.dnsomatic.com/
PeterT is offline   Reply With Quote
Old 12-17-2017, 05:14 PM   #23
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,683
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@daveman - you have asked what is essentially the same question... here and here.

Posting Guideline # 3 Duplication, states :

Quote:
Do not post the same discussion in more than one forum. Try to pick the most relevant forum for your post.

If it's been a few days since the last comment in your thread and you haven't received a suitable answer to your question, you may bump your thread by commenting in it. You must not ask the same question in a new thread in the same forum.

If you receive no replies, and you think you may have chosen the wrong forum, report your post and ask the moderators to move it to the right forum.
There's link to MobilRead's Guidelines at the bottom of this and most other pages.

BR
BetterRed is online now   Reply With Quote
Old 12-20-2017, 01:58 AM   #24
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 875
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Whoa, I started this thread over seven years ago! How time flies!

To be honest, I should probably modify the OP to state that the information is woefully out of date, and basically no longer applicable. Also, I believe (please correct me if I'm wrong) that as of Calibre 3, running the content server and GUI side-by-side is no longer supported.
sherman is offline   Reply With Quote
Old 12-20-2017, 06:04 AM   #25
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,683
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by sherman View Post
To be honest, I should probably modify the OP to state that the information is woefully out of date, and basically no longer applicable.
Good idea - just add a prominent note in first post to say "This doesn't apply to version 3". But it's still useful if someone wants to stick with version 2.

BR
BetterRed is online now   Reply With Quote
Old 12-30-2017, 06:56 AM   #26
MizSuz
Connoisseur
MizSuz began at the beginning.
 
Posts: 63
Karma: 10
Join Date: Jul 2011
Device: Sony Touch, Nook Simple Touch, Kobo Aura, Android w/CoolReader
Well, I put calibre.exe from the Programs(x86)/Calibre2 folder in my startup folder but it doesn't start when windows starts. It's odd, because the two other things I put in there do start when windows starts.

I'm not sure why calibre isn't getting with the program on this.

I'm on a Win7 machine.

UPDATE: Doing my Windows updates seemed to fix this.

Last edited by MizSuz; 01-06-2018 at 11:17 AM.
MizSuz is offline   Reply With Quote
Old 02-17-2019, 10:37 PM   #27
Skumar
Member
Skumar began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Feb 2019
Device: amazon kindle basic 8th generation
ok thanks

Last edited by Skumar; 03-11-2019 at 01:35 PM.
Skumar is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Content Server statiiq Calibre 18 11-04-2016 03:12 PM
Calibre crashes in windows on startup Jamz Calibre 12 09-17-2010 02:58 PM
Running Calibre on Terminal Server JeffAlan66 Calibre 2 08-12-2010 02:00 PM
Trouble running calibre-server ould Calibre 0 04-16-2010 02:18 PM
content server in calibre bruceOz Calibre 1 04-16-2010 04:23 AM


All times are GMT -4. The time now is 07:29 AM.


MobileRead.com is a privately owned, operated and funded community.