Open colmconn opened 2 years ago
please try dev commit.
That patch is not applying for me:
$ git pull
remote: Enumerating objects: 84, done.
remote: Counting objects: 100% (84/84), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 61 (delta 46), reused 52 (delta 37), pack-reused 0
Unpacking objects: 100% (61/61), 6.11 KiB | 149.00 KiB/s, done.
From https://github.com/causefx/Organizr
8f1a21ab..048ad9b2 v2-develop -> origin/v2-develop
Already up to date.
$ curl -o tautulli_homepage.patch https://github.com/causefx/Organizr/commit/423f3847d1181a03c68155941f273087a2027e45.patch
patch -p1 < tautulli_homepage.patch
patching file api/homepage/tautulli.php
Hunk #1 FAILED at 179.
1 out of 1 hunk FAILED -- saving rejects to file api/homepage/tautulli.php.rej
Do I need to change branches first?
yes. it's on the dev branch... native install or docker?
Native.
To ensure I was on the correct branch, I blew my install away and started again.
sudo git clone https://github.com/causefx/Organizr.git
cd Organizr/
sudo git checkout v2-develop
sudo chown -R www-data:www-data Organizr/
Then went through the config wizard and set up things again. Went smoothly. I also set the branch to v2-develop in setting -> about -> information to stop it wanting to 'upgrade' to the last stable version.
Unfortunately, tautulli still does not show up on the homepage. New errors are logged in error.log as follows:
2022/02/27 12:08:48 [error] 11788#11788: *6916 FastCGI sent in stderr:
" Notice: Trying to access array offset on value of type null in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 192PHP
message: PHP Warning: count(): Parameter must be an array or an object
that implements Countable in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 192PHP
message: PHP Notice: Trying to access array offset on value of type
null in /var/www/websites/Organizr/api/homepage/tautulli.php on line
204PHP message: PHP Notice: Trying to access array offset on value of
type null in /var/www/websites/Organizr/api/homepage/tautulli.php on
line 204PHP message: PHP Notice: Trying to access array offset on
value of type null in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 204PHP
message: PHP Warning: Invalid argument supplied for foreach() in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 204PHP
message: PHP Notice: Trying to access array offset on value of type
null in /var/www/websites/Organizr/api/homepage/tautulli.php on line
211PHP message: PHP Notice: Trying to access array offset on value of
type null in /var/www/websites/Organizr/api/homepage/tautulli.php on
line 211PHP message: PHP Notice: Trying to access array offset on
value of type null in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 211PHP
message: PHP Warning: array_values() expects parameter 1 to be array,
null given in /var/www/websites/Organizr/api/homepage/tautulli.php on
line 211PHP message: PHP Warning: array_column() expects parameter 1
to be array, null given in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 252PHP
message: PHP Warning: array_search() expects parameter 2 to be array,
null given in /var/www/websites/Organizr/api/homepage/tautulli.php on
line 252PHP message: PHP Warning: array_column() expects parameter 1
to be array, null given in
/var/www/websites/Organizr/api/homepage/tautulli.php on line 252PHP
message: PHP Warning: array_search() expects parameter 2
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Organizr Version: V2.1.1140
Branch: Master
WebServer: Nginx 1.18.0-6.1 + PHP 7.4.28-1+deb11u1
Operating System: Raspbian GNU/Linux 11 (bullseye)
Problem Description:
I have a new install of plex with very few if any plays. I've also got tautulli (v2.9.4) installed and pointed at the same plex server (1.25.6.5577). I've tried to add tautulli to the organizr homepage but its section does not show up. The API connection between Organizr and tautulli tests successfully in the homepage item tautulli configuration dialog.
When reload organizr, my nginx error log is contains errors such as the following:
Calling the homestats URL (as in api/homepage/tautulli.php:159) from within the browser results in the following JSON returned:
http://myhost:8181/api/v2?apikey=REDACTED&cmd=get_home_stats&grouping=1
It would be great if Organizr could be a little more robust to a
Reproduction Steps:
See above.
Errors on screen? If so paste here: