I’m trying to alter the theme on my PeerTube instance through Administration > Plugins/Themes and then selected Themes and Search.
However, this just produces the message « The plugin index is not available. Please retry later. »
How do I install a new theme?
holo
Mai 22, 2024, 6:25
2
hi! I also got this issue, I wondered if you solved it? thanks!
Did you just install your Peertube instance?
Peertube scans plugins and themes every 12 hours by default (see check_latest_versions_interval
in your production.yaml
). I guess this could happen when the first indexing is not done yet.
holo
Mai 22, 2024, 7:35
4
ohh thank you. that is likely the issue. appreciate your help!
Maybe Peertube could index plugins on first startup? To provide a better user experience for new admins.
I opened a feature request: Index plugins/themes on first startup, for better user experience for new admins. · Issue #6411 · Chocobozzz/PeerTube · GitHub
1 « J'aime »
holo
Mai 23, 2024, 7:51
6
hi! after more than 24 hhours the plugin/theme search does not work. is it possible the indexing has not occurred?
the production.yaml shows 12 hours for check_latest_versions_interval, so it ought to have indexed by now.
thanks
Do you have errors in PeerTube logs?
holo
Mai 28, 2024, 9:38
8
the logs output these lines when accessing the plugin search:
May 28 21:37:05 z133 peertube[356548]: [video.lamer-ethos.site:443] 2024-05-28 21:37:05.911 info: 121.99.166.202 - - [28/May/2024:09:37:05 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
May 28 21:37:05 z133 peertube[356548]: [video.lamer-ethos.site:443] 2024-05-28 21:37:05.921 error: Client log: {"message":"Plugin index unavailable. Please retry later","status":503,"body":{"type":"about:blank","title":"Service Unavailable","detail":"Plugin index unavailable. Please retry later","status":503,"docs":"https://docs.joinpeertube.org/api-rest-reference.html#operation/getAvailablePlugins","error":"Plugin index unavailable. Please retry later"},"headers":{"normalizedNames":{},"lazyUpdate":null}} {
May 28 21:37:05 z133 peertube[356548]: "username": "holo",
May 28 21:37:05 z133 peertube[356548]: "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
May 28 21:37:05 z133 peertube[356548]: "url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
May 28 21:37:05 z133 peertube[356548]: }
May 28 21:37:05 z133 peertube[356548]: [video.lamer-ethos.site:443] 2024-05-28 21:37:05.921 info: 121.99.166.202 - - [28/May/2024:09:37:05 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
May 28 21:37:05 z133 peertube[356548]: [video.lamer-ethos.site:443] 2024-05-28 21:37:05.924 error: Client log: Error: The plugin index is not available. Please retry later. {
any help is appreciated.
Can you enable peertube debug logs and re-paste them?
holo
Mai 28, 2024, 11:14
10
here are the debug level logs for the plugin search interactions.
info[28/05/2024, 11:12:35 pm] 121.99.166.202 - - [28/May/2024:11:12:35 +0000] "GET /api/v1/plugins/available?start=0&count=10&sort=-trending&pluginType=1 HTTP/1.0" 503 269 "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
{
"tags": [
"http"
]
}
error[28/05/2024, 11:12:35 pm] Client log: Backend returned code 503, errorMessage is: Plugin index unavailable. Please retry later
{
"tags": [
"client"
],
"username": "holo",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
"url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
}
info[28/05/2024, 11:12:35 pm] 121.99.166.202 - - [28/May/2024:11:12:35 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
{
"tags": [
"http"
]
}
error[28/05/2024, 11:12:35 pm] Client log: {"message":"Plugin index unavailable. Please retry later","status":503,"body":{"type":"about:blank","title":"Service Unavailable","detail":"Plugin index unavailable. Please retry later","status":503,"docs":"https://docs.joinpeertube.org/api-rest-reference.html#operation/getAvailablePlugins","error":"Plugin index unavailable. Please retry later"},"headers":{"normalizedNames":{},"lazyUpdate":null}}
{
"tags": [
"client"
],
"username": "holo",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
"url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
}
info[28/05/2024, 11:12:35 pm] 121.99.166.202 - - [28/May/2024:11:12:35 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
{
"tags": [
"http"
]
}
error[28/05/2024, 11:12:35 pm] Client log: Error: The plugin index is not available. Please retry later.
{
"tags": [
"client"
],
"username": "holo",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0",
"url": "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1"
}
info[28/05/2024, 11:12:35 pm] 121.99.166.202 - - [28/May/2024:11:12:35 +0000] "POST /api/v1/server/logs/client HTTP/1.0" 204 - "https://video.lamer-ethos.site/admin/plugins/search?pluginType=1" "Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0"
{
"tags": [
"http"
]
}
holo
Mai 28, 2024, 11:15
11
if there is a config flag I have to add it will have to wait, I am importing my previous account which may take a day or so.
Yes, you need to update the level in the peertube configuration: PeerTube/config/production.yaml.example at develop · Chocobozzz/PeerTube · GitHub
Then restart peertube.
Do you have a proxy or a specific network rule that forbid out HTTP requests on your server? I can’t see your instance request on the plugin index.
holo
Mai 28, 2024, 12:29
13
ok well I will add the config changes when this account import is complete.
there should not be a proxy or http limitations, however there may be an error with my nginx config? that is one idea maybe.
thanks for the support.
holo
Août 3, 2024, 8:11
14
hi sorry to take so long to reply to this, the user upload failed and I took some time off.
I have the debug output from attempting to search the plugin/theme index here:
https://bpa.st/WGXQ
like I say, there ought not to be any proxy restrictions on this vps, however maybe there is one enabled by default? (debian 12)
thanks!
I had such a story, either Ipv6 (disabled), or in Debian 12 look at DNS (settings), now there is no systemd-resolved
holo
Août 4, 2024, 7:18
16
so I should look to disable « systemd-resolved »?
thanks!
-edit-
I do not see it on this vps.
–edit edit–
disabling ipv6 got it to work! thanks you @bestperson for the help! also @Chocobozzz for helping me with enabling debug!
1 « J'aime »
holo:
systemd-resolved
Just in case, there is no systemd-resolved in Debian 12, and the entire DNS is configured in etc/resolv.conf, so in etc/resolv.conf sometimes the DNS entry somehow disappears). I’m glad that everything worked out, IPv6 often brings difficulties