-
Notifications
You must be signed in to change notification settings - Fork 256
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
Pathfinder database does not fully populate and leads to errors #158
Comments
check the installation. There is a .sql file you need to manually import. This is missing in the wiki documentation. |
Thanks for your reply Tupsi! I have tried to import that pathfinder.sql file from the repository into my pathfinder database several times, however that only allows me to see the wormhole information regarding their static connections. However I am still getting 4 "Route not found" errors every time i click on a kspace, and every time i use the "route search" module. In addition, the killboard portion still does not load ( https://gyazo.com/947666fa49d47f3af3abaf082c8bc3ed ) |
which pathfinder are we talking here? Are you using the master or develop branch? |
Its the master branch ( https://github.com/exodus4d/pathfinder.git ) |
|
@exodus4d |
@exodus4d |
@Ulaxidor This is not a bug, You don´t have any jump data in your database ;) This jump/kill data should be imported by a cronjob. Check the Wiki for more information. |
@exodus4d cron.phpx contents, modified only the first line, the other 4 echo lines are exactly as they are in the wiki: then I’ve made cron.phpx executable by using the chmod 755 command on it. crontab -e:
How does that look? In the first line of the cron.phpx file, should I add .ini to the word cron to specifically reference the cron.ini file or is “cron” sufficient? If that first line is referring to a cron directory should i make that directory in my installation root folder and then place cron.ini from the /app directory in it? |
Yeah will copy my |
@Ulaxidor Just add the following line to
If crontab is not already installed, check this for more information: https://www.digitalocean.com/community/tutorials/how-to-use-cron-to-automate-tasks-on-a-vps
|
This information is now added to the wiki: https://github.com/exodus4d/pathfinder/wiki/Cronjob I have reworked the page, added some more information.... |
@exodus4d However that log file now contains multiple copies of this line: The manual command "curl mydomain.com/cron" returns this: 301 Moved Permanentlynginx/1.10.0 (Ubuntu) ` The map will still not load the Jumps, Ship/POD Kills, NPC Kills section. ----update---- Manually navigating to mydomain.com/cron in google chrome has populated that section. Ok I believe I've got it. Just found out that the curl command must include the https portion of the address. However I am still not sure why cron returns those errors since it looks like a solid crontab command. I have worked around the php index.php /cron error by adding this command to crontab -e |
I have fixed a small issue on the develop branch, which belongs to this issue: 95ff8cd |
* fixed #194 PHP 5.6 error * - closed #102 added "set waypoint/destination" context menu to route finder module - update "Select2" 4.0.0 -> 4.0.3 - update "Font Awesome" 4.6.1 -> 4.6.3 * - added *.js files for develop branch * - closed #195 fixed "BASE" dir for subDir installations - fixed "Home" menu link * - #195 improved js load path * - added "clear cache" function for manually cache clearing to /setup #200 #105 #158 - added cache size information to /setup - added current pathfinder "VERSION" to /setup - updated "requireJs" 2.1.20 ->2.2.0 - removed unnecessary page cache timings from static templates (page cache) * - added "document_root", "port", "protocol" and "PHP framework version" to /setup page - added new "shattered" wormhole types to "signature table", closed #182, #179 * - added new "delete old signatures" option to "signature reader" dialog, closed #95 * - added new housekeeping cronjob für cached files, closed #200 - added new cache size information to /setup page * - fixed signature groupId/typeId "overwriting" for already known signatures. closed #207 - improved system search dialog. Added trim(); before "api/signatures-> search" request * updated README.me * fixed PHP error "default object from empty value", closed #209 * reduced image file size * - added local storage (IndexedDB) - added local storage for map scroll position. closed #69 * - added "notice" panel for upcoming release information - improved layout for "release dialog" (GitHub API) - improved pagespeed (removed render blocking javascripts) - improved map scrollbar configuration - improved Chrome browser custom scrollbar layout - removed "sign up" buttons from "map panels", closed #214 * - fixed some session and cookie bugs * - added new requirement check for `max_input_vars` to /setup URL, closed #224 * - fixed isWormhole(); bug * -v1.1.1 added js build files
* fixed #194 PHP 5.6 error * - closed #102 added "set waypoint/destination" context menu to route finder module - update "Select2" 4.0.0 -> 4.0.3 - update "Font Awesome" 4.6.1 -> 4.6.3 * - added *.js files for develop branch * - closed #195 fixed "BASE" dir for subDir installations - fixed "Home" menu link * - #195 improved js load path * - added "clear cache" function for manually cache clearing to /setup #200 #105 #158 - added cache size information to /setup - added current pathfinder "VERSION" to /setup - updated "requireJs" 2.1.20 ->2.2.0 - removed unnecessary page cache timings from static templates (page cache) * - added "document_root", "port", "protocol" and "PHP framework version" to /setup page - added new "shattered" wormhole types to "signature table", closed #182, #179 * - added new "delete old signatures" option to "signature reader" dialog, closed #95 * - added new housekeeping cronjob für cached files, closed #200 - added new cache size information to /setup page * - fixed signature groupId/typeId "overwriting" for already known signatures. closed #207 - improved system search dialog. Added trim(); before "api/signatures-> search" request * updated README.me * fixed PHP error "default object from empty value", closed #209 * reduced image file size * - added local storage (IndexedDB) - added local storage for map scroll position. closed #69 * - added "notice" panel for upcoming release information - improved layout for "release dialog" (GitHub API) - improved pagespeed (removed render blocking javascripts) - improved map scrollbar configuration - improved Chrome browser custom scrollbar layout - removed "sign up" buttons from "map panels", closed #214 * - fixed some session and cookie bugs * - added new requirement check for `max_input_vars` to /setup URL, closed #224 * - fixed isWormhole(); bug * -v1.1.1 added js build files * - removed IGB support #206 - removed location tracking by IGB * - added build files for upcoming version 1.1.2 - improved ajax authentication check and "logout" notification | closed #198 - improved logging, added missing log file configuration to pathfinder.ini - added logging for "unauthorized" requests | closed #198 - updated js "jQuery" 1.11.3 -> 3.0.0 | #206 - updated js "datatables" plugin 1.10.7 -> 1.10.12 | #206 - updated js "mCustomScrollbar" 3.1.14 -> 3.1.4 | #206 * - fixed some minor bugs in signature table module * - fixed type "Cataclysmic", closed #241 * - added new setup DB indexing for "system_neighbour" table to /setup route, #125 - fixed system "TrueSec" rounding in "routes module", closed #109 * - fixed system "TrueSec" rounding in "routes module", closed #109 * - added new wormhole statics for "Thera", closed #240 * - fixed missing statics for constellation "21000062" , closed #232 * - added "static" wormholes for "shattered" systems , closed #180 - added im/export function for "index" tables (*.csv import), as an alternative to the *.sql import, closed #125 * - added new system tooltip for "region name", closed #236 - updated "Bootstrap" JS-library 3.3.0 -> 3.3.5 * - removed console.log(),,, * minor bugfixes in /setup page * - added basic support for Russian signatures, closed #256 - added warning notification for invalid signature stings * - added basic support for Russian signatures, closed #256 * - added requirement check for "PDO", "PDO_MYSQL" to "/setup" route - imrpved DB PDO connection (added "TIMEOUT", forced "ERRMODE") - fixed broken "system alias" renaming dialog * - fixed "system graph" module rendering if there was no data available - improved "image gallery" initialization on landing page - added navigation to /setup page - updated "blueImpGallery" (fixed some bugs after jQuery 3.0 upgrade) 1.15.2 -> 2.21.3 - updated "blueImpGalleryBootstrap" (fixed some bugs after jQuery 3.0 upgrade) 3.1.1 -> 3.4.2 * - JS build files vor 1.1.2 * Updated pathfinder.css
Add esi-search.search_structures.v1 scope to environment.ini
I’ve installed pathfinder using version 1.10.0 of the standard nginx without using the p5hb ( h5bp/server-configs-nginx ) repository because it simply does not work, as in it will not host any host file and will not listen on any port in my hosts file. The standard nginx is able to host pathfinder but my Pathfinder database is incomplete https://gyazo.com/d558566a28020d105cace7bf4cc1d103. It results in this https://gyazo.com/4a16bffc1f7cf47a5c7e693c90c820cc. A pop up error “Route not found” occurs when any kspace connection is clicked ( https://gyazo.com/59141af6bd6778fbe3bf5ddb8b3b0f37 ). It also will not load the system kills from zkill as it constantly loads as seen in the GIF. Here is error from the developer tools view ( https://gyazo.com/975b331f6d4a2c481d12f89b9be62a9f ).
Here is what my https://domain/setup looks like https://gyazo.com/e9120caf5b017957c8acf374181c261a and https://gyazo.com/243b11ff3f86454a4cc8ef402e10df4a.
In addition I get this perpetually loading page ( https://gyazo.com/79fc917cae72434ebeb3a46c6f59d09e ) each time I click on "Setup tables." This is the error in the developer tools view ( https://gyazo.com/21be08990c307dea1ba1a00ab2e0b5f2 ).
--Update--
After removing the database and repopulating it and installing a few java apps including oracles jdk 8.0, and Jquery, and requirejs, I am still getting the same errors ( https://gyazo.com/a53c9e1e6d19f933a73f3f29a197d883 ) cant path from kspace connections despite importing the pathfinder.sql database.
Am I getting these issues because I am not using the p5hb nginx repository? Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: