micdu70 / geoip2-rutorrent Goto Github PK
View Code? Open in Web Editor NEWNew geoip plugin for ruTorrent working with GeoLite2 (MaxMind DB Files)
New geoip plugin for ruTorrent working with GeoLite2 (MaxMind DB Files)
Hello,
using Novik/ruTorrent@e8f0fef, ruTorrent fails to load and throws the following strack trace:
2022/01/10 17:50:54 [error] 25018#0: *354559860 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function getPluginConf() in /share/ZFS530_DATA/.qpkg/Entware/share/www/rutorrent/plugins/geoip2/init.php:11
Stack trace:
#0 /share/ZFS530_DATA/.qpkg/Entware/share/www/rutorrent/php/getplugins.php(495): require_once()
#1 {main}
thrown in /share/ZFS530_DATA/.qpkg/Entware/share/www/rutorrent/plugins/geoip2/init.php on line 11" while reading response header from upstream, client: 10.10.1.146, server: example.com, request: "GET /php/getplugins.php HTTP/2.0", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "example.com", referrer: "https://example.com/"
Disabling the plugin allows ruTorrent to start, although some unrelated JS errors are thrown.
Cheers.
[Hello!
I have installed the plugin by instruction (phar installed too). The plugin is loaded, enabled. Look at the screenshot https://drive.google.com/file/d/1_TBWu6C2lwXS-R7QQacrxcgi5-gwbrk1/view - you can find the column Country, but it is empty inside.
I have installed it on Qnap NAS, rtorrent 0.9.7/0.13.7
I am sure the geo DB is correctly.
php 7.2.12-1
latest rutorrent and geoip2 plugin
Got a stack trace with this message:
2022/05/23 21:41:38 [error] 25415#25415: *13193 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Class 'FileUtil' not found in /<PATH>/init.php:11
All required extensions are enabled: json, phar, bcmath (PHP 7)
Edit: original geoip is disabled
I kinda had a hunch that the latest database is the one causing this, perhaps? the db I used is GeoLite2-City version 20220522
This seems to be happening in 3.9 (no clue about 3.10)
Not sure which rutorrent commit since this is a one click installation from a server
Would it be possible to update the Maxmind country database to the latest.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.