-
Notifications
You must be signed in to change notification settings - Fork 240
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
Database load error #77
Comments
Yeah somehow your lighttpd isn't adding the Content-Encoding header properly. Can you first try this fix: |
Tempted to revert that change lighttpd .... just too unreliable maybe. |
I understand the issue now. I MAY be a unique situation, as I'm using nginx, not lighttpd. (I don't know what is native/defaults are in lighttpd vs nginx vs apache, etc). I will have to tweak my web server's configs. I will absolutely agree though that A) there is a lot of savings in compressing these, B) re-compressing these repeatedly via the web server is wasted compute time. |
The install script produces a custom nginx conf file for each instance. |
does yours not output this? |
Yes, it outputted only the line: I was running on a self-compiled nginx v1.19.2 (i needed to compile some nginx modules for another project). I checked my old config files (ie. nginx.conf.rpmsave) and I do see it there. I uninstalled nginx and installed the CentOS 8 native nginx (v1.14.1). Fresh config. Added the include line. Everything works as intended. Possible compatibility problem with nginx v1.19.. but its more probable that I didn't compile in some module needed. Lets chalk this up to user-error. |
I don't think it's the nginx version. For lighttpd i restart it in the install script but i expect people using nginx to do it themselves ;) |
I updated my installation yesterday and again today (the usual command found in the README). I am getting some errors in the browser. I also tried deleting /usr/local/share/tar1090 completely and re-downloading everything. No help.
I am seeing these errors in my Chrome dev mode console:
a6cb48: Database load error: parsererror at URL: db-a728e0e/A.js planeObject_a188fb0_a728e0e.js:2002 a02c40: Database load error: parsererror at URL: db-a728e0e/A.js planeObject_a188fb0_a728e0e.js:2002
I believe this is somehow related to the "precompress database files in tar1090-db" commit from 4 days ago. I think maybe I somehow caught things in the middle of switching over to using pre-compressed tar1090-db files.
gunzip-ing all the files in /db-a728e0e will fix the issue of course.
The text was updated successfully, but these errors were encountered: