View Single Post
Old 01-16-2017, 09:53 AM   #1387
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 726
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@MontyJ

The QNAP TS-251 looks like a perfect platform for a COPS setup. so let's try to make it work!

For my own sake (so that I can correctly understand the problem) I rephrased your questions in a few points:

Q1 - Connect to server from the internet
- your external IP changes regularly (daily/monthly/???)
- you need to set up a Dynamic DNS and you choose PageKite
- you need to setup PageKite on your QNAP (normal install did not work)
- how to install PageKite on your QNAP

Q2 - "Secure" login to COPS
- multiple (2 or more) different users
- different content per user? (Not all users need to see all the the libraries, each have their own selection)

My answers:

First Q2 - Yes this is possible. I used this wiki page to make it work https://github.com/seblucas/cops/wiki/User-based-config
If you need further assistance in setting this up, just ask!

Then Q1 - You said that the installation did not work. [Disclaimer: I do not have a QNAP not have I ever installed PageKite]
- have you installed Python version 2.x on your QNAP?
- have you tried (http://pagekite.net/downloads)
Quote:
If you prefer, you can download the program yourself and install wherever you like. Just remember to make the program executable by running: chmod +x pagekite.py
Link location: https://pagekite.net/pk/pagekite.pyhttps://pagekite.net/pk/pagekite.py
- put it in a nice directory (for example ./cops/pagekite) and run it (first SSH into your QNAP, but you knew that ) from that directory.
Code:
./pagekite.py &
And let us know if it works this way?
mariosipad is offline   Reply With Quote