PeteB Posted January 5, 2018 Share Posted January 5, 2018 Been trying to get reverse proxy working for COPS. I just keep getting "404 Not Found". Here's what I've coded: location /cops { include /config/nginx/proxy.conf; proxy_pass http://192.168.1.169:8083; auth_basic "Restricted"; auth_basic_user_file /config/nginx/.htpasswd; } It all works if I'm on a local browser and go to http://192.168.1.169:8083 but it won't work if I am remote and go to https://url.name.of.server/cops thanks Quote Link to comment
PeteB Posted January 5, 2018 Share Posted January 5, 2018 5 hours ago, PeteB said: Been trying to get reverse proxy working for COPS. I just keep getting "404 Not Found". Here's what I've coded: location /cops { include /config/nginx/proxy.conf; proxy_pass http://192.168.1.169:8083; auth_basic "Restricted"; auth_basic_user_file /config/nginx/.htpasswd; } It all works if I'm on a local browser and go to http://192.168.1.169:8083 but it won't work if I am remote and go to https://url.name.of.server/cops thanks Ok made some progress here. change the proxy_pass statement to read proxy_pass http://192.168.1.169:8083/ NOTE: the trailing "/". This now works when I put in a URL of: https://urls_name_of_server/cops/ but doesn't work if I just put in https://urls_name_of_server/cops. With the second one I just get a blank screen (not a 404 not found now). I seem to be able to download books ok as well now. 1 Quote Link to comment
puncho Posted February 18, 2018 Share Posted February 18, 2018 Is there a way so that when I press the email button, I can choose which email for COPS to send it to? Say I want to send to a family member or different device. Thanks! Quote Link to comment
CHBMB Posted February 18, 2018 Share Posted February 18, 2018 Is there a way so that when I press the email button, I can choose which email for COPS to send it to? Say I want to send to a family member or different device. Thanks!No, although that has been a feature request.Sent from my LG-H815 using Tapatalk Quote Link to comment
puncho Posted February 18, 2018 Share Posted February 18, 2018 11 hours ago, CHBMB said: No, although that has been a feature request. Sent from my LG-H815 using Tapatalk I see, thanks. I saw in the calibre web thread that you guys had planned on releasing calibre web after 6.4 came out. Any word on that, and if it's as lightweight as COPS? Thanks! Quote Link to comment
CHBMB Posted February 18, 2018 Share Posted February 18, 2018 Yeah, we are planning on releasing it and it's pretty light on resources as far as I can tell. 1 Quote Link to comment
Glassed Silver Posted May 21, 2019 Share Posted May 21, 2019 Does COPS support two-way sync of reading progress? Also, bonus question: which app would I best use on Android to keep my device and server in-sync? I know about Calibre Companion, but as far as I can tell a companion that doesn't read itself will always rely on the reader app relaying read progress to it......... I've been using computers long enough to know that mixing too many programs often tends to create a lot of friction and cases where you need to troubleshoot or stuff just isn't optimized... yadda yadda... tl;dr: I think what I'm looking for is a CC-like app that will also be a good reader app. When reading with Moon+ I noticed it didn't save page progress nor bookmarks... kinda defeats the purpose of integrating syncing all that if you ask me and Moon+ is apparently what "everyone" and the CC makers themselves heavily focus on. Is this as good as it gets? Manually triggering "read progress: complete" on every book that I finish manually and if my Android device gets lost I have to figure out which books I had been reading, where I stopped, what I bookmarked, etc? That's before even considering multi-device usage. Trust me, I really searched for option, but I cannot seem to find satisfying options and every app description I read talks all about what is possible but won't tell you about the little details... And as we all know... the devil is in the detail. Sorry if this is kinda-hijacking the thread, but I'm fairly new to Calibre and I am not quite sure how specific this might be to COPS, so I figured I'd best ask in the most specific place that applies to me. Quote Link to comment
dr_drei Posted September 6, 2019 Share Posted September 6, 2019 I am having trouble using a reverse proxy with Cops: Quote server { listen 443 ssl; listen [::]:443 ssl; server_name cops.*; include /config/nginx/ssl.conf; client_max_body_size 0; # enable for ldap auth, fill in ldap details in ldap.conf #include /config/nginx/ldap.conf; location / { # enable the next two lines for http auth #auth_basic "Restricted"; #auth_basic_user_file /config/nginx/.htpasswd; # enable the next two lines for ldap auth #auth_request /auth; #error_page 401 =200 /login; include /config/nginx/proxy.conf; resolver 127.0.0.11 valid=30s; set $upstream_cops cops; proxy_pass https://$upstream_cops:80; } } I have seen people having the same problem but couldn't find a solution that works for me. Thank you for your input! Quote Link to comment
helomen Posted January 26, 2020 Share Posted January 26, 2020 On 9/6/2019 at 12:42 PM, dr_drei said: I am having trouble using a reverse proxy with Cops: I have seen people having the same problem but couldn't find a solution that works for me. Thank you for your input! same problem here... does somebody already find a solution for this issue? Quote Link to comment
TimV Posted January 14, 2021 Share Posted January 14, 2021 Boot issue. I had what appeared to be an array disk fail, so I restarted my system to get a clean start, but I can't get into Unraid because I'm being redirected to a COPS config issue (which is probably because the array isn't up). What can I do to get around this? I'm looking in /config on my thumbdrive to hopefully comment something out, but don't see anything COPS related in there. There is no php.ini on there that I can find. It's obvious Calibre won't be running if the array is down. I've never been able to successfully configure COPS but it hasn't stopped my system boots in the past. Running 6.9.0.rc-2 Please advise. COPS CONFIGURATION CHECK You've been redirected because COPS is not configured properly Database error Check if PHP version is correct OK (7.3.25) Check if GD is properly installed and loaded OK Check if Sqlite is properly installed and loaded OK Check if libxml is properly installed and loaded OK Check if Json is properly installed and loaded OK Check if mbstring is properly installed and loaded OK Check if intl is properly installed and loaded OK Check if Normalizer class is properly installed and loaded OK Check if the rendering will be done on client side or server side Client side rendering Check if Calibre database path is not an URL OK Check if Calibre database file exists and is readable File /books/metadata.db not found, Please check Value of $config['calibre_directory'] in config_local.php (Does it end with a '/'?) Value ofopen_basedirin your php.ini The access rights of the Calibre Database Synology users please readthis Note that hosting your Calibre Library in /home is almost impossible due to access rights restriction Quote Link to comment
Squid Posted January 14, 2021 Share Posted January 14, 2021 4 hours ago, TimV said: Boot issue. I had what appeared to be an array disk fail, so I restarted my system to get a clean start, but I can't get into Unraid because I'm being redirected to a COPS config issue (which is probably because the array isn't up). Are you sure you're using the correct IP address to get into the UI (and port #) If COPS is running (and returning an error), then the array is started. Quote Link to comment
NickAll Posted February 13, 2021 Share Posted February 13, 2021 Is there any way to define multiple destination emails and choose which one to mail? Quote Link to comment
Monty Posted September 3, 2023 Share Posted September 3, 2023 (edited) Please amy I get some help - I previously had COPS working well, wth the cops basic authentication. Now when I try to configure it, I get a "This page isn't working. HTTP ERROR 500" error message. If I comment out / remove the PHP pass line it works without any issue (and no password). If I set it to 'NULL;' it also gives the HTTP ERROR 500 message EDIT: Apparently I'm a complete idiot. I was adding the line to the mail config array, inside it's bracket. Whoops Edited September 3, 2023 by Monty Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.