Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2020, 05:48 PM   #1
reotel
Junior Member
reotel began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2020
Device: Tolino Vision 5
Sync Server for Windows 10

Hi, not sure where to post this but is there any way to run sync server on Windows 10? I tried to follow the steps on github but it's only for linux.

https://github.com/koreader/koreader-sync-server

I also tried to install docker and run linux container but can only execute "docker run -d -p 7200:7200 --name=kosync koreader/kosync:latest" through command line.

I'd appreciate if someone could help me with detailed instructions how to run this server on Windows. Thank you for help.

Reotel
reotel is offline   Reply With Quote
Old 05-01-2020, 05:58 PM   #2
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 454
Karma: 435255
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by reotel View Post
Hi, not sure where to post this but is there any way to run sync server on Windows 10? I tried to follow the steps on github but it's only for linux.

https://github.com/koreader/koreader-sync-server

I also tried to install docker and run linux container but can only execute "docker run -d -p 7200:7200 --name=kosync koreader/kosync:latest" through command line.

I'd appreciate if someone could help me with detailed instructions how to run this server on Windows. Thank you for help.

Reotel
There are a few alternatives implemented following the same "spec" that are easily deployable on win10, based on python and node.

See https://github.com/dobladov/koreader-node-sync-server or https://github.com/myelsukov/koreader-sync
pazos is online now   Reply With Quote
Old 05-01-2020, 06:05 PM   #3
reotel
Junior Member
reotel began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2020
Device: Tolino Vision 5
Quote:
Originally Posted by pazos View Post
There are a few alternatives implemented following the same "spec" that are easily deployable on win10, based on python and node.

See https://github.com/dobladov/koreader-node-sync-server or https://github.com/myelsukov/koreader-sync
Wow, thank you for these. Somehow nothing shows up when I googled for windows. Will try these.

Thanks again.
reotel is offline   Reply With Quote
Old 05-02-2020, 11:23 AM   #4
reotel
Junior Member
reotel began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2020
Device: Tolino Vision 5
I managed to install and run both servers but can't connect to them. I've tried port forwarding to my localhost computer but no dice.

Could you help?

Thanks.
reotel is offline   Reply With Quote
Old 05-02-2020, 11:50 AM   #5
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 454
Karma: 435255
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by reotel View Post
I managed to install and run both servers but can't connect to them. I've tried port forwarding to my localhost computer but no dice.

Could you help?

Thanks.
Did you modify https://github.com/koreader/koreader...lugin/api.json to match your url domain?

Note that you can implement your own service but is not exactly supported and requires some knowledge of the kosync plugin: https://github.com/koreader/koreader...osync.koplugin

IIRC any change done on the plugin will be override by updates so you would want to create your own, slightly, modified version of the plugin with other name to avoid that.

Last edited by pazos; 05-02-2020 at 11:52 AM.
pazos is online now   Reply With Quote
Old 05-02-2020, 12:11 PM   #6
reotel
Junior Member
reotel began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2020
Device: Tolino Vision 5
Quote:
Originally Posted by pazos View Post
Did you modify https://github.com/koreader/koreader...lugin/api.json to match your url domain?

Note that you can implement your own service but is not exactly supported and requires some knowledge of the kosync plugin: https://github.com/koreader/koreader...osync.koplugin

IIRC any change done on the plugin will be override by updates so you would want to create your own, slightly, modified version of the plugin with other name to avoid that.
Sorry, pazos. I was trying to edit my post but screwed it up and couldn't fully edit it. I got it to work on LAN now. Didn't know my pc has firewall on. I was focused on router firewall.

I do want to know if there's a way to connect to the server from the internet. I'm using dobladov/koreader-node-sync-server. I've tried port forwarding to the localhost server pc but it didn't work.

Thanks a lot for your help.

Last edited by pdurrant; 05-03-2020 at 04:25 AM.
reotel is offline   Reply With Quote
Old 05-03-2020, 07:00 AM   #7
pazos
cosiñeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 454
Karma: 435255
Join Date: Apr 2014
Device: BQ Cervantes 4
Quote:
Originally Posted by reotel View Post
I do want to know if there's a way to connect to the server from the internet...


Too generic question. You need to forward the port where the service runs from your public IP to your device private IP. That's easy if your ISP provides you a public static IP address but a PITA if your IP is dynamic.

Most people use DDNS services. That requires a router able to communicate with the service that updates the public IP address each time it changes.

Anyways this has nothing to do with koreader or the sync feature. Please look on the internet. If you manage to expose a single port to the internet (say a webserver running on port 80) you'll be able to use the same method to expose the sync server.

When in doubt use what's already provided, free of charge, by the ko team
pazos is online now   Reply With Quote
Old 05-04-2020, 05:17 PM   #8
reotel
Junior Member
reotel began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2020
Device: Tolino Vision 5
Quote:
Originally Posted by pazos View Post


Too generic question. You need to forward the port where the service runs from your public IP to your device private IP. That's easy if your ISP provides you a public static IP address but a PITA if your IP is dynamic.

Most people use DDNS services. That requires a router able to communicate with the service that updates the public IP address each time it changes.

Anyways this has nothing to do with koreader or the sync feature. Please look on the internet. If you manage to expose a single port to the internet (say a webserver running on port 80) you'll be able to use the same method to expose the sync server.

When in doubt use what's already provided, free of charge, by the ko team
Thanks for the response. It's no biggie. I understand how port/ddns forwarding works but just somehow can't get it to work with sync sever. For now I'm just using it locally. Thanks again for your help. Really appreciate it.
reotel is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync and Other Content Server Observations rozen Calibre 2 06-19-2017 11:54 PM
Sync content server to laptop for travel PureLoneWolf Library Management 3 02-06-2017 01:25 AM
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
Sync library between server and laptop cptnemo Library Management 4 05-05-2013 02:33 AM
Two-way Instapaper sync for Windows jsulak Reading and Management 0 06-30-2010 09:11 AM


All times are GMT -4. The time now is 02:44 PM.


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