08-31-2012, 07:58 AM | #91 | |
Junior Member
Posts: 7
Karma: 471030
Join Date: Aug 2012
Device: Nook Color, Nexus 7, Asus TF700
|
Quote:
You didn't need to go through all that! I have the Synology 211 and just got it up and running myself. All you need to do is enable the web - you don't need to enable mySQL or install phpMyAdmin. I followed the instructions up above with no real issues, but I'll recap for you: 1) On Synology, enable Web Station (Control Panel->Web Services->Web Applications Tab: "Enable Web Station". The only other thing I have checked in this space is "Enable PHP Cache" and "Enable PHP safe mode..." 2) You will now have a share on your diskstation called "Web". Determine if you are going to put your library in the root or use a subfolder (I used a subfolder named "Library" - we'll run with that for now, but don't create it yet). You should probably now map this new share to a drive on your PC (I used W). 3) Find your calibre library on your PC. You can click on the icon on the menu bar at the top of calibre (that looks like the calibre "logo") and it will say "Your calibre library is currently located at ...". For Win7, this is C:\Users\<your user name>\Calibre Library. 4) Shut down calibre and now copy your library to the diskstation. I just grabbed the whole folder (which, by default is called "Calibre Library") and copied that folder to the "web" share on the diskstation. Once there, I renamed it to "Library". 5)If you want to test Calibre now, go back into it and click on that same icon as above and select "Switch/create library". Put the path to your new location (in my instance w:\Library, but a UNC path might work too - \\diskstation\web\Library). Make sure and click "Use the previously existing library at the new location". At this point you should have your calibre library working on your diskstation, so next step is to enable COPS. I now just leave calibre pointed to the new library location and use it there - I don't maintain it locally anymore. 6) Take the COPS zip file and unzip it right in your library directory (W:\Library for me). 7) Make a new copy of the file called "config_default.php" and name it "config_local.php" 8) Edit the "config_local.php" if you'd like and change the name of the library and the timezone. The library name is here: $config['cops_title_default'] = "Sebastien's COPS"; The timezone is here: $config['default_timezone'] = "Europe/Paris"; You can find the appropriate PHP timezone setting here 9) Believe it or not, at this point it's running! You can hit it with your browser by simply going to http://diskstation/Library 10) Now you just need to get your reader of choice to recognize the OPDS catalog. To do this use the same URL as immediately above but add feed.php. So mine would look like this - http://diskstation/Library/feed.php And that's it! You are up and running! I have almost the exact same setup as you, including an Asus Transformer. |
|
08-31-2012, 10:08 AM | #92 |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2012
Device: Android
|
Also, it's great that one can still update the calibre library even if the library is on a nas
Putting a shortcut ("C:\Program Files\Calibre2\calibre.exe" --with-library "\\DISKSTATION\web\library1") makes updating the library on the Synology easier. I currently have two libraries on my Synology which I maintain. Now I don't have to bother with calibre2opds to update the libraries on my Synology |
Advert | |
|
08-31-2012, 10:45 AM | #93 | |
Junior Member
Posts: 7
Karma: 471030
Join Date: Aug 2012
Device: Nook Color, Nexus 7, Asus TF700
|
Quote:
Sometimes the solution is just a simple one |
|
08-31-2012, 11:26 AM | #94 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Mar 2012
Device: Android
|
Quote:
The shortcut was for the benefit of my wife who most of the times put some of her stuff into my library since she forgets to switch libraries most of the time ;D Since I put a shortcut for her, I decided to put one for my library so I can directly access it without having to switch libraries |
|
08-31-2012, 02:30 PM | #95 |
Junior Member
Posts: 2
Karma: 10
Join Date: Aug 2012
Device: Asus Transformer Prime
|
It Works!
Doncaruana, thanks for your detailed instructions! It was exactly what I was looking for and I got it working. The process was much easier than I expected. Thanks again!
|
Advert | |
|
08-31-2012, 03:21 PM | #96 |
Junior Member
Posts: 7
Karma: 471030
Join Date: Aug 2012
Device: Nook Color, Nexus 7, Asus TF700
|
Glad to help!
|
09-01-2012, 11:36 AM | #97 |
Member
Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
Hi there,
I am also trying to figure this thing out to run on a Synology Box. 1st question: I have a funtioning COPS in my web browser, but somehow downloading a book does not seem to work. The URL behind the button gives me a strange URL with a path like ../download/8/filename.epub and this ends up in a Synology error page telling me that the page does not exist. I tried modifying $config['cops_x_accel_redirect'] = to no avail. Anybody got a clue? 2nd question: I have performed the test with a small database in my /web/ folder. I would like to use an external path on /volume1/. Anyone got a clue how to fix this? Regards, |
09-01-2012, 04:24 PM | #98 | |
Member
Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
OK,
Figured out how to download. On my Synology DS212 the "Config_Local.php" settings should be: Quote:
Now still pending: Question 2. How to refer to my original (large) database outside the /web/ environment.... |
|
09-02-2012, 05:58 PM | #99 |
Member
Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
OK, I managed to access the files outside my /web/ environment. Added the proper path to the Open_basedir in my php.ini and now I can get an overview of titles, small cover image and book summaries. But I cannot download the epubs though.
I tried the suggested Rewrite rules in the .htaccess files, but when I add those, COPS stops working. When downloading an epub, the proper filename is given by my browser, but I end up with a file with a size of 0kb. Anyone got a clue? |
09-02-2012, 06:31 PM | #100 |
Member
Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
OK,
Got Epub download through HTML working with a database directory stored outside the web path. Solved it by changing the last line in fetch.php according to this comment. Minor issues that do not obstruct the main purpose of COPS: * Cover preview in fancybox does not work. Probably related with the fetch.php thing as mentioned above * Title summary in fancybox --> Fancybox starts halfway of my Ebook screen. Re-positioning necessary |
09-03-2012, 05:40 AM | #101 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
@Northguy
I had a lot of problems with fancybox on my Kobo. Latest firmware fixed most of it. I have no Prs-t1 around so now way to help you, do you know if there is a way to emulate it ? I saw your pull request and will merge this afternoon. |
09-04-2012, 03:13 PM | #102 |
Member
Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
|
never mind...
Last edited by Northguy; 09-04-2012 at 03:55 PM. |
09-05-2012, 11:27 AM | #103 |
Addict
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
|
Doest this mean that you've found something to allow the PRS-T1 to use COPS (and fancyapps) or was it about your edition ?
Last edited by vlad59; 09-05-2012 at 11:29 AM. |
09-05-2012, 12:46 PM | #104 |
Junior Member
Posts: 7
Karma: 471030
Join Date: Aug 2012
Device: Nook Color, Nexus 7, Asus TF700
|
|
09-05-2012, 09:32 PM | #105 |
Junior Member
Posts: 3
Karma: 10
Join Date: Sep 2012
Device: ipad
|
DB outside webroot
Hi All,
Just wanted to say that I have successfully installed it in IIS7.5 and it is all working perfectly. My only issue is that I want the software to access the library in the NAS (outside webroot/server). I have not been able to get it to work. I keep getting a blank XML error everytime I try to change the path. I am not very good with PHP so please excuse. Can anyone help explain the steps to get this to work? I know that a few of you have set it up this way... Thanks, doctur |
Tags |
calibre opds, dns, kobo aura, synology |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |