-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Synology and COPS #510
Comments
On Synology you have to go in the php option and add the path of your library in the homedir field
Envoyé depuis Yahoo Mail pour Android
Le sam., janv. 8, 2022 à 12:53, ***@***.***> a écrit:
Hello,
I've installed COPS inside my Synology Web server.
My Library is outside www default folder.
I set:
...
$config['calibre_directory'] = '/volume1/Documenti/LibreriaPersonale/';
...
checkconfig.php said:
"Not all Calibre tables were found. Are you sure you're using the correct database."
I granted permission 777 to the library with ssh and "open_base" on PHP info is not set.
What can I do ?
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Sorry I meant in webstation/php option / open basedir$
Envoyé depuis Yahoo Mail pour Android
Le sam., janv. 8, 2022 à 12:53, ***@***.***> a écrit:
Hello,
I've installed COPS inside my Synology Web server.
My Library is outside www default folder.
I set:
...
$config['calibre_directory'] = '/volume1/Documenti/LibreriaPersonale/';
...
checkconfig.php said:
"Not all Calibre tables were found. Are you sure you're using the correct database."
I granted permission 777 to the library with ssh and "open_base" on PHP info is not set.
What can I do ?
Thanks
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Works perfectly. Thank you :-) |
Hello,
Do you have an idea of what I am doing wrong, please? |
Just for testing purposes: Put your calibre library in a subdirectory of COPS (./COPS/books) and point to there in config_local.php. Does this work? |
Hello Mario, Thanks for helping. I tested what you suggest (and also switched to a full-stack IPv4 in order to use COPS on the internet, but it was another problem). Now I have a blank page with "No input file specified." |
I found an old thread (here: #267 ) I just replaced my PHP basedir by the following line and it works now: /tmp:/var/services/tmp:/var/services/web:/var/services/homes:/volume1/books/ I still don't know why we have to put the temp folders and web one but anyway, it works. EDIT: I tested different combinations, and it seems like only the web folder is needed for removing the error I encountered (now it looks like: /var/services/web:/volume1/books/) |
So COPS works, Synology works, great! Just put a password on COPS for external access. I cannot test it, but COPS should work with IPv6. |
You are right, Mario. Now I have a user/password authentication (with a htpasswd file) but it is also enabled for local access (it's not a big deal for me). Maybe I should use another port than the default 443 to be more secure. I don't know if COPS also works with IPv6. |
1 - password 2 - port 443 3 - IPv6 |
1 - Your link sends me to "No results matched your search." Thanks for your feedback. |
This should work (I hope): https://stackoverflow.com/questions/4913000/use-htaccess-to-restrict-external-access-to-my-intranet The port setup should be done inside your (own or ISP provided) modem/router settings page. |
Hello Mario, |
COPS has no settings for setting an access port. If https://DDNS:443/cops worked before (https:///DDNS/cops) then https://DDNS:12345/cops should work if you forwarded port 12345 to 443 for the internal IP if COPS in your router. |
Now it works. You know why? Because I just had to put an "/" at the of the URL ^^ |
Sometimes an “/“ is all it needs......... It seems to me its browser dependent. Some browser add an “/“ automatically and some don’t. I sometimes have “//“ at the end of the url, and then it sometimes works, and sometimes not. Pretty frustrating. ;-) |
Aha you're right! Thanks again for your help ;) Have a nice weekend. |
Hello,
I've installed COPS inside my Synology Web server.
My Library is outside www default folder.
I set:
...
$config['calibre_directory'] = '/volume1/Documenti/LibreriaPersonale/';
...
checkconfig.php said:
"Not all Calibre tables were found. Are you sure you're using the correct database."
I granted permission 777 to the library with ssh and "open_base" on PHP info is not set.
What can I do ?
Thanks
The text was updated successfully, but these errors were encountered: