Quote:
Originally Posted by mariosipad
....... It is the same error I got yesterday evening and tried to solve. No idea how, but after some fiddling the "problem" seemed to have solved itself.
What did I fiddle?
- restarted webserver (maybe restart QNAP)
- cleared firefox caches
- tried another browser (Chrome) -> worked
- in firefox I tried http://192.168.xxx.xxx/cops/login.html
And in the end it worked.
Maybe you should try?
|
Well, things are getting weird...
I did a 'restart' of qnap. I didn't disconnect my ssh sessions, but of course it terminated those.
After it came up, I made sure I could login to the qnap desktop. Keep in mind the original COPS icon is still there, and just to check I selected it and the original COPS install still works normally; it came up an a new tab in Firefox. I then closed that session.
Next I reconnected with a SSH session as 'admin', as normal. At the "/" folder I typed in pagekite.py to start it up again. Nothing. File not found.
I then checked for the pagekite config and log files in the / folder, but they were not there. I did a 'find' for ANY pagekite files, but nada!
I had read that the antivirus or malware removal could be a problem with some programs, but when I checked the Antivirus program on the desktop, it was not enabled and there were no scan jobs listed either.
Not sure what this is all about, but I now have to recreate my pagekite config file as I did not do any backups during this testing Then reinstall pagekite.py...somewhere.
The Linux script Pagekite provides puts it in /usr/local/bin/pagekite.py, but something does not seem to think it belongs there...
I should note that the default Pagekite script for Linux install does not work "as is" in Qnap:
Code:
curl -s https://pagekite.net/pk/ |sudo bash
Qnap has no initial curl and no sudo. I had Entware-ng installed, so installed curl and sudo. Still problems as I received pagekite messages about policy and https and sudo 'root' handling. But they do provide tips at each failure that finally installs pagekite.py. And then it runs.
I have to try another Qnap restart to see if pagekite.py sticks around before I go any further.

So will be back in a while.
[edit] sure enough, it wiped my pagekite install again... Any ideas? If not, I will check with Pagekite, but those folks in Iceland seem to be out in the thermal baths and the heat is affecting their response time, LoL.