Post Nextcloud 21 issues with installed apps, TOTP, DECK

Coild you tests one thing, can you disable IPv6 support for that device on your router, restart device and rerun two last commands?
If that fixes I will try to check IPv6 in PHP for Nextcloud, that would explain everything.

So in my ddwrt router, ipv6 is disabled on the entire router, is that something I should have enabled before?

Sorry, you are right IPv6 is disabled and we already checked that by curl -6.
I am running out of ideas, I could start providing different versions of php with various changes to see fixes it.
Let’s check few other things before that, can you run this linux command:

uname -a

yep here we go, really happy to debug if this is helpful for others, functionality for what i need is there.

Ok, I have a new php build, can you test it?

wget http://ci.syncloud.org:8081/files/3rdparty/337-amd64/php7-x86_64.tar.gz
tar xf php7-x86_64.tar.gz
export PHP=$(pwd)/php
${PHP}/lib/ld.so --library-path ${PHP}/lib:${PHP}/lib/private ${PHP}/bin/php -a

this will enter the new php console, then run these php commands:

$ch = curl_init('https://apps.nextcloud.com');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
echo(curl_exec($ch));
echo gethostbyname('apps.nextcloud.com');

Yep here is the output

Screenshot from 2021-06-10 19-22-42.png

in solidarity,
~stephen
he/him

bash command:

lsb_release -a
root@syncloud:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 8.11 (jessie)
Release:	8.11
Codename:	jessie
root@syncloud:~# 


OK, I was able to reproduce the issue (right in php build system)

Latest php Syncloud build does not work correctly on old Syncloud image based on Debian Jessie, but is ok on latest image which is based on Debian Buster. At the moment we do not have a migration from old base image to the new one.

So two options:

  1. Reinstall device using latest image and install all apps back on it, this should fix it today for you.
  2. Wait for me to fix php build to support both Jessie and Buster then upgrade Nextcloud. It is possible I just need to spend a bit more time. This is a good thing to do as there are many people out thee still using old Syncloud images I think.
1 Like

Really glad that we got to the root of this. Would we want to try an upgrade via commandline to buster?

That may work if you know what you are doing and not afraid to lose everything on the device!

I am probably a bit rusty on doing a Debian upgrade, it used to be my daily driver and I used to maintain Debian servers, but those are a few years back now (running Fedora now). But if you ever want to test out an upgrade from Jessie to Buster or something similar for those like myself that are on the older version, let me know. I could probably test it out since i did this install with the storage on separate device.

I have published an update, could you upgrade nextcloud and check if it fixes the problem?

1 Like

Yes!! that worked perfectly! All updates are seen, mail works, twitter works, weather works. I checked the overview status too no more internet connection error.

Great work!