Cannot Open Any Podcasts in Repod #58

Closed
opened 2024-02-04 04:37:54 +00:00 by raxventus · 3 comments

Hello,

While using Repod on my Nextcloud 28 server, I am unable to open any podcast details.
The error log seems to indicate that the issue is in the gpoddersync component, so I am filing an issue there as well.

Below is the error message that spawns when I try and load a podcast.

[index] Error: Call to a member function get() on null in file '/var/www/nextcloud/apps/gpoddersync/lib/Core/PodcastData/PodcastDataReader.php' line 87
	GET /apps/repod/podcast?url=https%3A%2F%2Fwww.theguardian.com%2Faustralia-news%2Fseries%2Ffull-story%2Fpodcast.xml
	from 172.69.22.154 by Nate at Feb 3, 2024, 9:10:14 PM

PHP Info:

Version: 8.1.27
Memory limit: 1 GB
Max execution time: 3600
Upload max size: 128 MB
OPcache Revalidate Frequency: 2
Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, apcu, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache

DB Info:

Type: mysql (mariaDB)
Version: 10.5.21
Size: 276 MB

Host Info:

Debian 11 (bullseye) Container
Hello, While using Repod on my Nextcloud 28 server, I am unable to open any podcast details. The error log seems to indicate that the issue is in the gpoddersync component, so I am filing an issue [there as well](https://github.com/thrillfall/nextcloud-gpodder/issues/156). Below is the error message that spawns when I try and load a podcast. ``` [index] Error: Call to a member function get() on null in file '/var/www/nextcloud/apps/gpoddersync/lib/Core/PodcastData/PodcastDataReader.php' line 87 GET /apps/repod/podcast?url=https%3A%2F%2Fwww.theguardian.com%2Faustralia-news%2Fseries%2Ffull-story%2Fpodcast.xml from 172.69.22.154 by Nate at Feb 3, 2024, 9:10:14 PM ``` PHP Info: ``` Version: 8.1.27 Memory limit: 1 GB Max execution time: 3600 Upload max size: 128 MB OPcache Revalidate Frequency: 2 Extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, apcu, mysqlnd, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache ``` DB Info: ``` Type: mysql (mariaDB) Version: 10.5.21 Size: 276 MB ``` Host Info: ``` Debian 11 (bullseye) Container ```
3.8 KiB
Xefir closed this issue 2024-02-04 08:40:31 +00:00
Owner

The error isn't easy to read, but it shows that you have a problem with your Nextcloud configuration, specifically in the cache section.
Please insure you have at least APCu enable in your cache settings : https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html

In the meantime, I pushed a fix to handle the case and don't crash if you have no cache available.
It is fixed in the 1.5.5 version deploying now.
You'll have it in a few minutes :)

The error isn't easy to read, but it shows that you have a problem with your Nextcloud configuration, specifically in the cache section. Please insure you have at least APCu enable in your cache settings : https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html In the meantime, I pushed a fix to handle the case and don't crash if you have no cache available. It is fixed in the 1.5.5 version deploying now. You'll have it in a few minutes :)
Author

That seems like a peculiar error to happen from a lack of a cache, but I'll take your word for it and give it a go, and update the app when the release is published.
I think APCu was disabled for some reason in the past, but never got re-enabled as we weren't facing any issues until now.

Thanks for the help :)

That seems like a peculiar error to happen from a lack of a cache, but I'll take your word for it and give it a go, and update the app when the release is published. I think APCu was disabled for some reason in the past, but never got re-enabled as we weren't facing any issues until now. Thanks for the help :)
Author

Decided to just fix the Redis cache finally, and everything works as expected, before updating :)

Decided to just fix the Redis cache finally, and everything works as expected, before updating :)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Xefir/repod#58
No description provided.