Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memcache \OC\Memcache\APCu not available for local cache #2039

Closed
ozinfotech opened this issue Jul 1, 2021 · 43 comments · Fixed by #2040
Closed

Memcache \OC\Memcache\APCu not available for local cache #2039

ozinfotech opened this issue Jul 1, 2021 · 43 comments · Fixed by #2040
Labels

Comments

@ozinfotech
Copy link

Steps to reproduce

  1. Open PuTTY and log in to Nextcloud
  2. Update the VM with the script: sudo bash /var/scripts/menu.sh
  3. Attempt a minor release update

Expected behavior

The update usually completes without any hiccups.

Actual behavior

The script errors out with the following message:

An unhandled exception has been thrown:
OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Server configuration

Nextcloud server version: 21.0.2

Server OS 20.04.2 LTS

PHP Version 7.4

How did you install the VM? (Scripted install from master OR Released version)
Purchased from TechAndMe.se

Network

Do you use DHCP?
No

Is port 80 and/or 443 open?
Yes to both

Logs / Screenshots

Log file (/var/log/nextcloud/nextcloud.log)

{"reqId":"HlrzHllugT6koEfqzcoJ","level":2,"time":"2021-06-23T18:55:02-05:00","remoteAddr":"","user":"--","app":"OC\\Log\\Rotate","method":">
{"reqId":"wxFT1zguKoQ62axvDr3R","level":3,"time":"2021-06-23T19:02:40-05:00","remoteAddr":"213.70.130.70","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"WLafzNgke46jPytF22Zl","level":3,"time":"2021-06-29T14:11:28-05:00","remoteAddr":"213.70.126.219","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"muUEtUp6kTGOsc4fZQBk","level":2,"time":"2021-06-30T10:47:23-05:00","remoteAddr":"213.69.71.49","user":"0269457C-E7F6-432A-A0A5-18>
{"reqId":"E1pzMrN6IQocSuucHLEo","level":3,"time":"2021-06-30T12:24:46-05:00","remoteAddr":"162.41.74.90","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"FUU64O3lpfJ6QsJt3c0p","level":3,"time":"2021-06-30T12:28:44-05:00","remoteAddr":"162.41.74.210","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"yJ2GE2yyty89OcHT3IpN","level":3,"time":"2021-06-30T12:30:10-05:00","remoteAddr":"213.70.126.133","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"wPYWNP84goMQB4hZeefX","level":3,"time":"2021-06-30T12:32:11-05:00","remoteAddr":"162.41.75.13","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"zHtmkGciPWreMvzUEvBZ","level":3,"time":"2021-06-30T12:34:00-05:00","remoteAddr":"162.41.75.27","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"qQXOkOJ9NgE12hfIG7BW","level":3,"time":"2021-06-30T12:37:11-05:00","remoteAddr":"162.41.74.176","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"ejPCzT6FTe9FwdfgaINg","level":3,"time":"2021-06-30T12:42:54-05:00","remoteAddr":"162.41.75.21","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"BwApm6zeDhhlx3Cy1q4O","level":3,"time":"2021-06-30T12:44:11-05:00","remoteAddr":"162.41.74.134","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"BlQPqfAk1ZMqmLklzvNy","level":3,"time":"2021-06-30T12:48:38-05:00","remoteAddr":"108.162.216.229","user":"6DE4C6DA-602E-486D-8389>
{"reqId":"cv7IlHNjmeMN1qdNPIzj","level":3,"time":"2021-06-30T12:51:29-05:00","remoteAddr":"162.41.74.200","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"e5eRxC38LVGwT4TuoHGR","level":3,"time":"2021-06-30T12:53:42-05:00","remoteAddr":"162.41.74.190","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"6U0DM3UkUSKRVcqgWvEO","level":3,"time":"2021-06-30T12:55:35-05:00","remoteAddr":"162.41.74.240","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"7bbK1BAu3UnYZSqOStt9","level":3,"time":"2021-06-30T12:57:40-05:00","remoteAddr":"162.41.74.190","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"X42b6PBu3CwnTfX54oUy","level":3,"time":"2021-06-30T12:59:32-05:00","remoteAddr":"162.41.74.102","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"vpbggeo5EQuSQocnwgxL","level":3,"time":"2021-06-30T13:01:27-05:00","remoteAddr":"162.41.74.140","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"RZBHnDmSOdZykEVgWVQx","level":3,"time":"2021-06-30T13:03:27-05:00","remoteAddr":"162.41.74.190","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"4tfmHrwDpviuenXBdkTn","level":3,"time":"2021-06-30T13:05:25-05:00","remoteAddr":"162.41.75.35","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"aomEBlZS4tgkhuyvaZhQ","level":3,"time":"2021-06-30T13:07:16-05:00","remoteAddr":"162.41.75.29","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"sCNncJocMkla7r1Dxnkp","level":3,"time":"2021-06-30T13:09:31-05:00","remoteAddr":"108.162.216.241","user":"6DE4C6DA-602E-486D-8389>
{"reqId":"VsxdwRlCL5WNliuVkS1R","level":3,"time":"2021-06-30T13:11:31-05:00","remoteAddr":"162.41.74.130","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"OZxHnRKylZkl5jb1tebN","level":3,"time":"2021-06-30T13:13:44-05:00","remoteAddr":"162.41.74.102","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"pvvzmshhcHAOBNriZglv","level":3,"time":"2021-06-30T13:16:12-05:00","remoteAddr":"162.41.74.234","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"bPl3R1d6fUJl4m4VCPqc","level":3,"time":"2021-06-30T13:17:59-05:00","remoteAddr":"162.41.74.200","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"Nwa7rz0a4Nixp7tBb6aR","level":3,"time":"2021-06-30T13:20:14-05:00","remoteAddr":"162.41.74.206","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"bBFZdU5uKNqRXnJMFyQ1","level":3,"time":"2021-06-30T13:21:47-05:00","remoteAddr":"162.41.74.234","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"IRlX5vjZR9G75yshoduQ","level":3,"time":"2021-06-30T13:23:26-05:00","remoteAddr":"162.41.74.220","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"uAX3kI89UCw88HxJWHUI","level":3,"time":"2021-06-30T13:25:04-05:00","remoteAddr":"162.41.74.106","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"aLFO68s2KtHxzGxzPiD6","level":3,"time":"2021-06-30T13:31:36-05:00","remoteAddr":"162.41.75.29","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"p7RQU8qCFdhfk24TGfB6","level":3,"time":"2021-06-30T13:34:59-05:00","remoteAddr":"162.41.75.11","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"qmdQcWjNf3912GVNMjmn","level":3,"time":"2021-06-30T13:36:50-05:00","remoteAddr":"108.162.216.235","user":"6DE4C6DA-602E-486D-8389>
{"reqId":"l3YGmJRSIoAJxjg6xKHu","level":3,"time":"2021-06-30T13:38:23-05:00","remoteAddr":"162.41.74.216","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"ysrmIqNRmbouAPzuWQQA","level":3,"time":"2021-06-30T13:40:05-05:00","remoteAddr":"162.41.74.160","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"b6sxNXBg3bwfculFrzYj","level":3,"time":"2021-06-30T13:41:53-05:00","remoteAddr":"162.41.74.102","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"EHJhBN0Q52O3bb5qMe0y","level":3,"time":"2021-06-30T13:43:14-05:00","remoteAddr":"162.41.74.212","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"IG0owdOxUCYcpStDVsX0","level":3,"time":"2021-06-30T13:44:54-05:00","remoteAddr":"162.41.74.105","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"mMJg2u0RzpJsmJNO4Wbr","level":3,"time":"2021-06-30T14:06:04-05:00","remoteAddr":"162.41.74.170","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"YC8hFUL5vmLFOMAA8qOF","level":3,"time":"2021-06-30T14:19:17-05:00","remoteAddr":"213.70.127.14","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"D2WKTAIjpEYTHTs8j1fr","level":3,"time":"2021-06-30T14:23:33-05:00","remoteAddr":"213.70.126.63","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"2XNDfRVtKZMAL3upBz8n","level":3,"time":"2021-06-30T14:31:31-05:00","remoteAddr":"213.70.126.35","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"IN4J1U4FmuwI3kEexym8","level":3,"time":"2021-06-30T15:17:51-05:00","remoteAddr":"213.70.126.99","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"Zpx6iPvILQfPPXBUOX3K","level":3,"time":"2021-06-30T15:25:40-05:00","remoteAddr":"213.70.126.51","user":"6DE4C6DA-602E-486D-8389-A>
{"reqId":"Oz6ckYdKGtPpfVtvGFJO","level":3,"time":"2021-06-30T15:31:49-05:00","remoteAddr":"213.70.126.189","user":"6DE4C6DA-602E-486D-8389->
{"reqId":"OxN6jeU6WHZc3KdGaNac","level":2,"time":"2021-07-01T09:52:05-05:00","remoteAddr":"213.69.68.21","user":"--","app":"no app in cont>
{"reqId":"fSrQgt5LNamHkN9rGYSE","level":2,"time":"2021-07-01T09:52:13-05:00","remoteAddr":"213.69.68.21","user":"--","app":"no app in cont>
{"reqId":"3DhBcyhtvnTNp5UglLBA","level":2,"time":"2021-07-01T09:52:37-05:00","remoteAddr":"213.69.68.21","user":"--","app":"no app in cont>

Installation log (command output)

All files are backed up.
Maintenance mode enabled
Removing old Nextcloud instance in 5 seconds...
Extracting new package....
Restoring config to Nextcloud...
[⣾⣽⣻⣾⣽⣻Setting secure permissions...
Creating possible missing Directories
chmod Files and Directories
chown Directories
⣾⣽⣻⣾⣽⣻chmod/chown .htaccess
]
An unhandled exception has been thrown:
OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)
Sorry but something went wrong. Please report this issue to https://github.com/nextcloud/vm/issues and include the output of the error message. Thank you!
sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off failed
@ozinfotech
Copy link
Author

For the fun of it, I restored from backup and then ran this command sudo apt-get install php-apcu before I started the script. It still gave me the same error message as shown in the command output above. It was worth a shot.

Restoring from backup once more.

@szaimen
Copy link
Collaborator

szaimen commented Jul 1, 2021

@enoch85 I thought we fixed this already in

vm/nextcloud_update.sh

Lines 375 to 400 in 0ce7f6a

if pecl list | grep -q apcu
then
yes no | pecl upgrade apcu
# Remove old igbinary
if grep -qFx extension=apcu.so "$PHP_INI"
then
sed -i "/extension=apcu.so/d" "$PHP_INI"
fi
# Check if apcu is enabled and create the file if not
if [ ! -f $PHP_MODS_DIR/apcu.ini ]
then
touch $PHP_MODS_DIR/apcu.ini
fi
# Enable new apcu
if ! grep -qFx extension=apcu.so $PHP_MODS_DIR/apcu.ini
then
echo "# PECL apcu" > $PHP_MODS_DIR/apcu.ini
echo "extension=apcu.so" >> $PHP_MODS_DIR/apcu.ini
check_command phpenmod -v ALL apcu
fi
# Fix https://help.nextcloud.com/t/nc-21-manual-update-issues/108693/4?$
if ! grep -qFx apc.enable_cli=1 $PHP_MODS_DIR/apcu.ini
then
echo "apc.enable_cli=1" >> $PHP_MODS_DIR/apcu.ini
check_command phpenmod -v ALL apcu
fi
or is this maybe an older installation that doesn't have apcu installed via pecl?

@szaimen
Copy link
Collaborator

szaimen commented Jul 1, 2021

@ozinfotech could you please post your config.php file here and the output of the three commands sudo php -m and sudo apt list --installed | grep php and sudo pecl list? Thanks!

@enoch85
Copy link
Member

enoch85 commented Jul 2, 2021

I got the same error yesterday, so there's something off with APCu... I don't know if it's Nextcloud or if it's APCu itself.

Workaround: change to Redis for local cache in config.php.

@enoch85 enoch85 added the bug label Jul 2, 2021
@enoch85
Copy link
Member

enoch85 commented Jul 2, 2021

Made this commit for now: 2378716

@szaimen
Copy link
Collaborator

szaimen commented Jul 2, 2021

I am not sure what this shall solve?

@szaimen
Copy link
Collaborator

szaimen commented Jul 2, 2021

The reason for the issue is probably nextcloud/server#25770 but I don't know how to solve it.

@szaimen
Copy link
Collaborator

szaimen commented Jul 2, 2021

Honestly it looks like those lines should fix it

vm/nextcloud_update.sh

Lines 395 to 400 in 0ce7f6a

# Fix https://help.nextcloud.com/t/nc-21-manual-update-issues/108693/4?$
if ! grep -qFx apc.enable_cli=1 $PHP_MODS_DIR/apcu.ini
then
echo "apc.enable_cli=1" >> $PHP_MODS_DIR/apcu.ini
check_command phpenmod -v ALL apcu
fi
but you've just disabled them.

@enoch85
Copy link
Member

enoch85 commented Jul 2, 2021

OK, so we should revert to Redis for cache: nextcloud/server#25770 (comment)

@enoch85
Copy link
Member

enoch85 commented Jul 2, 2021

but you've just disabled them.

Just tested on an old Nextcloud installation, and as long as APCu isn't updated it still works.

@szaimen
Copy link
Collaborator

szaimen commented Jul 2, 2021

as long as APCu isn't updated it still works.

okay

@enoch85
Copy link
Member

enoch85 commented Jul 2, 2021

@szaimen Can you prep a PR to remove APCu in the update script, and change to Redis in config.php?

I can do it n like 30 minutes if you don't have time right now.

@szaimen
Copy link
Collaborator

szaimen commented Jul 2, 2021

Please do it yourself. I am busy currently.

@MacLemon
Copy link

MacLemon commented Jul 7, 2021

Fix:
If you add apc.enable_cli=1 at the end of your php.ini the error is not thrown and you can successfully update your db-indeces. Then reload your php-fpm with whatever method your OS requires.
This is also needed if you use a separate config for php-fpm (like FreeBSD does).

@enoch85
Copy link
Member

enoch85 commented Jul 7, 2021

@Aboulafia666
Copy link

Aboulafia666 commented Jul 8, 2021

Fix:
If you add apc.enable_cli=1 at the end of your php.ini

Thanks a lot. It works fine on my Debian buster by adding this in /etc/php/7.3/mods-available/apcu.ini (global setting for both php-fpm and php-cli)

@ozinfotech
Copy link
Author

@ozinfotech could you please post your config.php file here and the output of the three commands sudo php -m and sudo apt list --installed | grep php and sudo pecl list? Thanks!

You bet. I wasn't sure if this was fixed or not so I tried to run the script again and still got the same error.

[PHP Modules]
bcmath
bz2
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imagick
imap
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

php-common/now 2:76+ubuntu20.04.1+deb.sury.org+9 all [installed,upgradable to: 2:84+ubuntu20.04.1+deb.sury.org+1]
php-imagick/now 3.4.4-5+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 3.4.4+php8.0+3.4.4-7+ubuntu20.04.1+deb.sury.org+1]
php-pear/focal,focal,now 1:1.10.9+submodules+notgz-1 all [installed,upgradable to: 1:1.10.12+submodules+notgz+20210212-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-bcmath/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-bz2/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-cli/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-common/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-curl/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-dev/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-fpm/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-gd/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-gmp/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-imap/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-intl/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-json/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-ldap/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-mbstring/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-mysql/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-opcache/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-pgsql/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-readline/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-soap/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-xml/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3-zip/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.3/now 7.3.20-1+ubuntu20.04.1+deb.sury.org+1 all [installed,upgradable to: 7.3.29-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-bcmath/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-bz2/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-cli/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-common/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-curl/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-dev/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-gd/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-gmp/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-imap/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-intl/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-json/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-ldap/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-mbstring/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-mysql/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-opcache/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-pgsql/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-readline/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-soap/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-xml/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
php7.4-zip/now 7.4.10-1+ubuntu20.04.1+deb.sury.org+1 amd64 [installed,upgradable to: 7.4.21-1+ubuntu20.04.1+deb.sury.org+1]
pkg-php-tools/focal,focal,now 1.38 all [installed,automatic]
Installed packages, channel pecl.php.net:
=========================================
Package  Version State
apcu     5.1.18  stable
igbinary 3.1.5   stable
redis    5.3.4   stable

@enoch85
Copy link
Member

enoch85 commented Jul 8, 2021

@ozinfotech

I tried to run the script again

Which script?

@ozinfotech
Copy link
Author

@enoch85
sudo bash /var/scripts/menu.sh

@enoch85
Copy link
Member

enoch85 commented Jul 8, 2021

@ozinfotech Run sudo bash /var/scripts/update.sh instead.

@ozinfotech
Copy link
Author

@enoch85 I'll be doing this in about an hour. Is that the script I want to run in the future as well? (As in, I need to forget about the menu.sh script?)

@enoch85
Copy link
Member

enoch85 commented Jul 8, 2021

Either one works.

The update.sh script always gets the latest nextcloud_update.sh script and runs it, and the menu.sh scipt makes it possible to get the latest update.sh script.

@ozinfotech
Copy link
Author

Unfortunately I am still getting the same error message. I'm sorry I'm such a problem child.
update

@enoch85
Copy link
Member

enoch85 commented Jul 8, 2021

Yes, the issue is now fixed: #2040

@ozinfotech
Copy link
Author

@enoch85 I just ran it again after I saw your message from a few minutes ago. Still getting the same errors. I'm not seeing any changes from the screenshot above. Maybe I need to pay for a one-on-one session?

@yuriry
Copy link

yuriry commented Jul 9, 2021

Just upgraded to the latest "stable" release and got the same error. Now stuck in the maintenance mode :(

@yuriry
Copy link

yuriry commented Jul 9, 2021

I used to upgrade using web UI, but it started timing out on me about 6 months ago, and I switched to using updater.phar. updater.phar never failed until today with this error. The fix was to follow the advises above:

  • install php-apcu module
  • set apc.enable_cli=1 in /etc/php/7.x/mods-available/apcu.ini
  • restart php-fpm
  • re-run sudo -u www-data php updater/updater.phar to finish the update to the latest version

Thank you so much @MacLemon @Bruno666!

@enoch85
Copy link
Member

enoch85 commented Jul 9, 2021

Maybe I need to pay for a one-on-one session?

@ozinfotech Do as you please. :)

@ozinfotech
Copy link
Author

ozinfotech commented Jul 9, 2021

@enoch85 30 minutes or 1 hour? I'm not sure how long it will take. Hopefully mine is an edge case, but if you get it figured out you'll be able to merge it into this fix for any other edge cases out there.

@EDavidF
Copy link

EDavidF commented Jul 9, 2021

For those who run NC on a shared hosting provider (that isn't installed through Softiculous or other auto-install/update program):
Took me a while to figure out how Redis worked in these environments. On the one we use (HawkHost), the Redis socket is found at ~/.applicationmanager/redis.sock (ps ax | grep redis ---> redis-server 127.0.0.1:0)

This is how I configured it to work in NC's config/config.php:

'memcache.local' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/home/XXX/.applicationmanager/redis.sock',
'port' => 0,
),
'memcache.locking' => '\\OC\\Memcache\\Redis',

Hope this helps people who faced the same problem.

@msberends
Copy link

msberends commented Jul 11, 2021

The mentioned fix also works great on PHP 8.0, i.e., by adding apc.enable_cli=1 to /etc/php/8.0/mods-available/apcu.ini after installing php8.0-apcu.

@nica-f
Copy link

nica-f commented Jul 15, 2021

The mentioned fix also works great on PHP 8.0, i.e., by adding apc.enable_cli=1 to /etc/php/8.0/mods-available/apcu.ini after installing php8.0-apcu.

Also worked for me after an upgrade from NC 21.0.2.1 to 21.0.3.1 which caused occ and cron to fail, now working again.
Thanks!

@janvlug
Copy link

janvlug commented Jul 22, 2021

I ran yesterday into this issue, and could not fix it. There is also a forum topic describing this problem:
https://help.nextcloud.com/t/upgrade-failed-because-of-apcu-now-disabled/120092
I added my specific situation there as a comment.

@msberends
Copy link

Did you restart PHP or the server? That was required for me.

@janvlug
Copy link

janvlug commented Jul 23, 2021

Did you restart PHP or the server? That was required for me.

Yes, I did.

@kz6fittycent
Copy link

I used to upgrade using web UI, but it started timing out on me about 6 months ago, and I switched to using updater.phar. updater.phar never failed until today with this error. The fix was to follow the advises above:

  • install php-apcu module
  • set apc.enable_cli=1 in /etc/php/7.x/mods-available/apcu.ini
  • restart php-fpm
  • re-run sudo -u www-data php updater/updater.phar to finish the update to the latest version

Thank you so much @MacLemon @Bruno666!

This worked like a charm on Ubuntu server 20.04 running php 7.4. Thanks for posting!

@ozinfotech
Copy link
Author

Well, I tried again using some of the previous suggestions from a backup and ended up with this error now. It's gone all circular.
Memcache \OC\Memcache\Redis not available for local cache

These are the steps I had taken. I determined my php version:
php -v

I had version 7.4 so I then installed apcu.
sudo apt-get install php7.4-apcu

I had to modify the following files that were created from the php apcu install:
/etc/php/7.4/mods-available/apcu_bc.ini

; extension=apc.so
apc.enable_cli=1

/etc/php/7.4/mods-available/apcu.ini

; extension=apc.so
apc.enable_cli=1

I restarted apache.
sudo service apache2 restart

I ran the update script again.
sudo bash /var/scripts/update.sh

Boom, got the new error message:
Memcache \OC\Memcache\Redis not available for local cache

@enoch85
Copy link
Member

enoch85 commented Jul 24, 2021

@ozinfotech

Strange. We actually purge APCu from the system since it's unreliable.

Please post the contents of

  • Nextclouds config.php
  • php.ini
  • dpkg -l | grep apc
  • pecl list

Thanks!

enoch85 added a commit that referenced this issue Jul 24, 2021
@janvlug
Copy link

janvlug commented Jul 24, 2021

and could not fix it

Finally, I managed to finalize the upgrade. This is what I did:
In the file config/config.php
I out-commented this line:
'memcache.local' => '\OC\Memcache\APCu',
Then I ran:

sudo -u http /usr/local/bin/php73 /volume1/web/nextcloud/occ upgrade
sudo -u http /usr/local/bin/php73 /volume1/web/nextcloud/occ maintenance:mode --off

And then I added to the file config/config.php this line again (the outcommented line was complety gone):
'memcache.local' => '\OC\Memcache\APCu',
With that line added occ does not work any more on the command line (cli), but I can make it work by applying the above mentioned procedure.

@enoch85
Copy link
Member

enoch85 commented Jul 24, 2021

The issue here is that you're not on the current version of PHP.

I will fix that in another PR.

@enoch85
Copy link
Member

enoch85 commented Jul 24, 2021

No need to make another PR for that since the first thing that happens in the update script is that it's changed to Redis: https://github.com/nextcloud/vm/blob/master/nextcloud_update.sh#L58-L69

So even if APCu is installed, it won't be activated in Nextcloud.

Run sudo bash /var/scripts/menu.sh and choose "Update minor", then everything should be sorted. We implemented the fix several weeks ago.

@ozinfotech
Copy link
Author

ozinfotech commented Jul 27, 2021

@enoch85 here you go!

dpkg -l | grep apc
-nothing-

pecl list

Installed packages, channel pecl.php.net:
=========================================
Package  Version State
apcu     5.1.18  stable
igbinary 3.1.5   stable
redis    5.3.4   stable

config.php

<?php
$CONFIG = array (
  'passwordsalt' => 'redacted',
  'secret' => 'redacted',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => '192.168.221.33',
    2 => 'domain.tld',
  ),
  'datadirectory' => '/var/ncdata',
  'overwrite.cli.url' => 'https://domain.tld/',
  'overwritehost' => 'domain.tld',
  'overwriteprotocol' => 'https',
  'overwritecondaddr' => '192\\.168\\.100\\.64$',
  'trusted_proxies' =>
  array (
    0 => '192.168.221.33',
  ),
  'allow_user_to_change_display_name' => false,
  'tempdirectory' => '/tmp',
  'dbtype' => 'pgsql',
  'version' => '21.0.2.1',
  'dbname' => 'nextcloud_db',
  'dbhost' => '127.0.0.1',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'pgsql_user_nextcloud',
  'dbpassword' => 'redacted',
  'defaultapp' => 'apporder',
  'installed' => true,
  'instanceid' => 'redacted',
  'maintenance' => false,
  'ldapUserCleanupInterval' => 15,
  'mail_smtpmode' => 'smtp',
  'log_rotate_size' => '10485760',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.5,
    'dbindex' => 0,
    'password' => 'redacted',
  ),
  'htaccess.RewriteBase' => '/',
  'sort_groups_by_name' => 'true',
  'loglevel' => '2',
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'logtimezone' => 'America/Chicago',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'mail_from_address' => 'redacted',
  'mail_domain' => 'redacted',
  'mail_smtphost' => 'redacted',
  'mail_smtpport' => '25',
  'mail_smtpauthtype' => 'LOGIN',
  'trashbin_retention_obligation' => 'auto, 180',
  'remember_login_cookie_lifetime' => '1800',
  'versions_retention_obligation' => 'auto, 365',
  'simpleSignUpLink.shown' => 'false',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' =>
  array (
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
  'mail_sendmailmode' => 'smtp',
  'encryption.key_storage_migrated' => false,
  'default_phone_region' => 'us',
);

php.ini

phpinfo()
PHP Version => 7.4.10

System => Linux domain.tld 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64
Build Date => Sep  9 2020 06:36:30
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/7.4/cli
Loaded Configuration File => /etc/php/7.4/cli/php.ini
Scan this dir for additional .ini files => /etc/php/7.4/cli/conf.d
Additional .ini files parsed => /etc/php/7.4/cli/conf.d/10-mysqlnd.ini,
/etc/php/7.4/cli/conf.d/10-opcache.ini,
/etc/php/7.4/cli/conf.d/10-pdo.ini,
/etc/php/7.4/cli/conf.d/15-xml.ini,
/etc/php/7.4/cli/conf.d/20-bcmath.ini,
/etc/php/7.4/cli/conf.d/20-bz2.ini,
/etc/php/7.4/cli/conf.d/20-calendar.ini,
/etc/php/7.4/cli/conf.d/20-ctype.ini,
/etc/php/7.4/cli/conf.d/20-curl.ini,
/etc/php/7.4/cli/conf.d/20-dom.ini,
/etc/php/7.4/cli/conf.d/20-exif.ini,
/etc/php/7.4/cli/conf.d/20-ffi.ini,
/etc/php/7.4/cli/conf.d/20-fileinfo.ini,
/etc/php/7.4/cli/conf.d/20-ftp.ini,
/etc/php/7.4/cli/conf.d/20-gd.ini,
/etc/php/7.4/cli/conf.d/20-gettext.ini,
/etc/php/7.4/cli/conf.d/20-gmp.ini,
/etc/php/7.4/cli/conf.d/20-iconv.ini,
/etc/php/7.4/cli/conf.d/20-imagick.ini,
/etc/php/7.4/cli/conf.d/20-imap.ini,
/etc/php/7.4/cli/conf.d/20-intl.ini,
/etc/php/7.4/cli/conf.d/20-json.ini,
/etc/php/7.4/cli/conf.d/20-ldap.ini,
/etc/php/7.4/cli/conf.d/20-mbstring.ini,
/etc/php/7.4/cli/conf.d/20-mysqli.ini,
/etc/php/7.4/cli/conf.d/20-pdo_mysql.ini,
/etc/php/7.4/cli/conf.d/20-pdo_pgsql.ini,
/etc/php/7.4/cli/conf.d/20-pgsql.ini,
/etc/php/7.4/cli/conf.d/20-phar.ini,
/etc/php/7.4/cli/conf.d/20-posix.ini,
/etc/php/7.4/cli/conf.d/20-readline.ini,
/etc/php/7.4/cli/conf.d/20-shmop.ini,
/etc/php/7.4/cli/conf.d/20-simplexml.ini,
/etc/php/7.4/cli/conf.d/20-soap.ini,
/etc/php/7.4/cli/conf.d/20-sockets.ini,
/etc/php/7.4/cli/conf.d/20-sysvmsg.ini,
/etc/php/7.4/cli/conf.d/20-sysvsem.ini,
/etc/php/7.4/cli/conf.d/20-sysvshm.ini,
/etc/php/7.4/cli/conf.d/20-tokenizer.ini,
/etc/php/7.4/cli/conf.d/20-xmlreader.ini,
/etc/php/7.4/cli/conf.d/20-xmlwriter.ini,
/etc/php/7.4/cli/conf.d/20-xsl.ini,
/etc/php/7.4/cli/conf.d/20-zip.ini

PHP API => 20190902
PHP Extension => 20190902
Zend Extension => 320190902
Zend Extension Build => API320190902,NTS
PHP Extension Build => API20190902,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => available, disabled

Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.10, Copyright (c), by Zend Technologies


 _______________________________________________________________________


Configuration

bcmath

BCMath support => enabled

Directive => Local Value => Master Value
bcmath.scale => 0 => 0

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.8, 13-Jul-2019

calendar

Calendar support => enabled

Core

PHP Version => 7.4.10

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
expose_php => On => On
extension_dir => /usr/lib/php/20190902 => /usr/lib/php/20190902
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/usr/share/php => .:/usr/share/php
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
log_errors_max_len => 1024 => 1024
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 4096K => 4096K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => -1 => -1
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sys_temp_dir => no value => no value
syslog.facility => LOG_USER => LOG_USER
syslog.filter => no-ctrl => no-ctrl
syslog.ident => php => php
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => GPCS => GPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.assertions => -1 => -1
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.exception_ignore_args => On => On
zend.multibyte => Off => Off
zend.script_encoding => no value => no value
zend.signal_check => Off => Off

ctype

ctype functions => enabled

curl

cURL support => enabled
cURL Information => 7.68.0
Age => 5
Features
AsynchDNS => Yes
CharConv => No
Debug => No
GSS-Negotiate => No
IDN => Yes
IPv6 => Yes
krb4 => No
Largefile => Yes
libz => Yes
NTLM => Yes
NTLMWB => Yes
SPNEGO => Yes
SSL => Yes
SSPI => No
TLS-SRP => Yes
HTTP2 => Yes
GSSAPI => Yes
KERBEROS5 => Yes
UNIX_SOCKETS => Yes
PSL => Yes
HTTPS_PROXY => Yes
MULTI_SSL => No
BROTLI => Yes
Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtmp, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
Host => x86_64-pc-linux-gnu
SSL Version => OpenSSL/1.1.1i
ZLib Version => 1.2.11
libSSH Version => libssh/0.9.3/openssl/zlib

Directive => Local Value => Master Value
curl.cainfo => no value => no value

date

date/time support => enabled
timelib version => 2018.03
"Olson" Timezone Database Version => 0.system
Timezone Database => internal
Default timezone => America/Chicago

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.9.10
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

exif

EXIF Support => enabled
Supported EXIF Version => 0220
Supported filetypes => JPEG, TIFF
Multibyte decoding support using mbstring => enabled
Extended EXIF tag formats => Canon, Casio, Fujifilm, Nikon, Olympus, Samsung, Panasonic, DJI, Sony, Pentax, Minolta, Sigma, Foveon, Kyocera, Ricoh, AGFA, Epson

Directive => Local Value => Master Value
exif.decode_jis_intel => JIS => JIS
exif.decode_jis_motorola => JIS => JIS
exif.decode_unicode_intel => UCS-2LE => UCS-2LE
exif.decode_unicode_motorola => UCS-2BE => UCS-2BE
exif.encode_jis => no value => no value
exif.encode_unicode => ISO-8859-15 => ISO-8859-15

FFI

FFI support => enabled

Directive => Local Value => Master Value
ffi.enable => preload => preload
ffi.preload => no value => no value

fileinfo

fileinfo support => enabled
libmagic => 537

filter

Input Validation and Filtering => enabled

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

ftp

FTP support => enabled
FTPS support => enabled

gd

GD Support => enabled
GD headers Version => 2.3.0
GD library Version => 2.3.0
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XPM Support => enabled
XBM Support => enabled
WebP Support => enabled
BMP Support => enabled
TGA Read Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1

gettext

GetText Support => enabled

gmp

gmp support => enabled
GMP version => 6.2.0

hash

hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b crc32c fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

MHASH support => Enabled
MHASH API Version => Emulated Support

iconv

iconv support => enabled
iconv implementation => glibc
iconv library version => 2.31

Directive => Local Value => Master Value
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value

imagick

imagick module => enabled
imagick module version => 3.4.4
imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
Imagick compiled with ImageMagick version => ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Imagick using ImageMagick library version => ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
ImageMagick copyright => © 1999-2019 ImageMagick Studio LLC
ImageMagick release date => 20190101
ImageMagick number of supported formats:  => 225
ImageMagick supported formats => 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, JBG, JBIG, JNG, JNX, JPE, JPEG, JPG, JPS, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV

Directive => Local Value => Master Value
imagick.locale_fix => 0 => 0
imagick.progress_monitor => 0 => 0
imagick.skip_version_check => 1 => 1

imap

IMAP c-Client Version => 2007f
SSL Support => enabled
Kerberos Support => enabled

Directive => Local Value => Master Value
imap.enable_insecure_rsh => Off => Off

intl

Internationalization support => enabled
ICU version => 66.1
ICU Data version => 66.1
ICU TZData version => 2021a
ICU Unicode version => 13.0

Directive => Local Value => Master Value
intl.default_locale => no value => no value
intl.error_level => 0 => 0
intl.use_exceptions => 0 => 0

json

json support => enabled

ldap

LDAP Support => enabled
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20449
SASL Support => Enabled

Directive => Local Value => Master Value
ldap.max_links => Unlimited => Unlimited

libxml

libXML support => active
libXML Compiled Version => 2.9.10
libXML Loaded Version => 20912
libXML streams => enabled

mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) version => 6.9.4

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => no value => no value
mbstring.http_output => no value => no value
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.regex_retry_limit => 1000000 => 1000000
mbstring.regex_stack_limit => 100000 => 100000
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

mysqli

MysqlI Support => enabled
Client API library version => mysqlnd 7.4.10
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0

Directive => Local Value => Master Value
mysqli.allow_local_infile => Off => Off
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => no value => no value
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
mysqli.rollback_on_cached_plink => Off => Off

mysqlnd

mysqlnd => enabled
Version => mysqlnd 7.4.10
Compression => supported
core SSL => supported
extended SSL => supported
Command buffer size => 4096
Read buffer size => 32768
Read timeout => 86400
Collecting statistics => Yes
Collecting memory statistics => No
Tracing => n/a
Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_caching_sha2_password,auth_plugin_sha256_password
API Extensions => mysqli,pdo_mysql

openssl

OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.1.1i  8 Dec 2020
OpenSSL Header Version => OpenSSL 1.1.1g  21 Apr 2020
Openssl default config => /usr/lib/ssl/openssl.cnf

Directive => Local Value => Master Value
openssl.cafile => no value => no value
openssl.capath => no value => no value

pcntl

pcntl support => enabled

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 10.36 2020-12-04
PCRE Unicode Version => 13.0.0
PCRE JIT Support => enabled
PCRE JIT Target => x86 64bit (little endian + unaligned)

Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.jit => 1 => 1
pcre.recursion_limit => 100000 => 100000

PDO

PDO support => enabled
PDO drivers => mysql, pgsql

pdo_mysql

PDO Driver for MySQL => enabled
Client API version => mysqlnd 7.4.10

Directive => Local Value => Master Value
pdo_mysql.default_socket => /var/run/mysqld/mysqld.sock => /var/run/mysqld/mysqld.sock

pdo_pgsql

PDO Driver for PostgreSQL => enabled
PostgreSQL(libpq) Version => 12.4 (Ubuntu 12.4-0ubuntu0.20.04.1)

pgsql

PostgreSQL Support => enabled
PostgreSQL(libpq) Version => 12.4 (Ubuntu 12.4-0ubuntu0.20.04.1)
PostgreSQL(libpq)  => PostgreSQL 12.4 (Ubuntu 12.4-0ubuntu0.20.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0, 64-bit
Multibyte character support => enabled
SSL support => enabled
Active Persistent Links => 0
Active Links => 0

Directive => Local Value => Master Value
pgsql.allow_persistent => On => On
pgsql.auto_reset_persistent => Off => Off
pgsql.ignore_notice => Off => Off
pgsql.log_notice => Off => Off
pgsql.max_links => Unlimited => Unlimited
pgsql.max_persistent => Unlimited => Unlimited

Phar

Phar: PHP Archive support => enabled
Phar API version => 1.1.1
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => enabled
Native OpenSSL support => enabled


Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On

posix

POSIX support => enabled

readline

Readline Support => enabled
Readline library => EditLine wrapper

Directive => Local Value => Master Value
cli.pager => no value => no value
cli.prompt => \b \>  => \b \>

Reflection

Reflection => enabled

session

Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php_serialize php php_binary

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_samesite => no value => no value
session.cookie_secure => 0 => 0
session.gc_divisor => 1000 => 1000
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 0 => 0
session.lazy_write => On => On
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /var/lib/php/sessions => /var/lib/php/sessions
session.serialize_handler => php => php
session.sid_bits_per_character => 5 => 5
session.sid_length => 26 => 26
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => 1 => 1
session.use_only_cookies => 1 => 1
session.use_strict_mode => 0 => 0
session.use_trans_sid => 0 => 0

shmop

shmop support => enabled

SimpleXML

SimpleXML support => enabled
Schema support => enabled

soap

Soap Client => enabled
Soap Server => enabled

Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400

sockets

Sockets Support => enabled

sodium

sodium support => enabled
libsodium headers version => 1.0.18
libsodium library version => 1.0.18

SPL

SPL support => enabled
Interfaces => OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.exception => 0 => 0
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
from => no value => no value
session.trans_sid_hosts => no value => no value
session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=
unserialize_max_depth => 4096 => 4096
url_rewriter.hosts => no value => no value
url_rewriter.tags => form= => form=
user_agent => no value => no value

sysvmsg

sysvmsg support => enabled

sysvsem

sysvsem support => enabled

sysvshm

sysvshm support => enabled

tokenizer

Tokenizer Support => enabled

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.9.10

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

xsl

XSL => enabled
libxslt Version => 1.1.34
libxslt compiled against libxml Version => 2.9.10
EXSLT => enabled
libexslt Version => 1.1.34

Zend OPcache

Opcode Caching => Disabled
Optimization => Disabled
SHM Cache => Enabled
File Cache => Disabled
Startup Failed => Opcode Caching is disabled for CLI

Directive => Local Value => Master Value
opcache.blacklist_filename => no value => no value
opcache.consistency_checks => 0 => 0
opcache.dups_fix => Off => Off
opcache.enable => On => On
opcache.enable_cli => Off => Off
opcache.enable_file_override => Off => Off
opcache.error_log => no value => no value
opcache.file_cache => no value => no value
opcache.file_cache_consistency_checks => On => On
opcache.file_cache_only => Off => Off
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.huge_code_pages => Off => Off
opcache.interned_strings_buffer => 8 => 8
opcache.lockfile_path => /tmp => /tmp
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 10000 => 10000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 128 => 128
opcache.opt_debug_level => 0 => 0
opcache.optimization_level => 0x7FFEBFFF => 0x7FFEBFFF
opcache.preferred_memory_model => no value => no value
opcache.preload => no value => no value
opcache.preload_user => no value => no value
opcache.protect_memory => Off => Off
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => On => On
opcache.use_cwd => On => On
opcache.validate_permission => Off => Off
opcache.validate_root => Off => Off
opcache.validate_timestamps => On => On

zip

Zip => enabled
Zip version => 1.15.6
Libzip headers version => 1.6.1
Libzip library version => 1.7.3

zlib

ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.2.11
Linked Version => 1.2.11

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value
SHELL => /bin/bash
SUDO_GID => 1000
LANGUAGE => en_US:en
SUDO_COMMAND => /bin/bash
SUDO_USER => ncadmin
PWD => /var/www/nextcloud/config
LOGNAME => root
HOME => /root
LANG => en_US.UTF-8
LS_COLORS => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
LESSCLOSE => /usr/bin/lesspipe %s %s
TERM => xterm
LESSOPEN => | /usr/bin/lesspipe %s
USER => root
SHLVL => 1
PATH => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
SUDO_UID => 1000
MAIL => /var/mail/root
OLDPWD => /var/www/nextcloud
_ => /usr/bin/php

PHP Variables

Variable => Value
$_SERVER['SHELL'] => /bin/bash
$_SERVER['SUDO_GID'] => 1000
$_SERVER['LANGUAGE'] => en_US:en
$_SERVER['SUDO_COMMAND'] => /bin/bash
$_SERVER['SUDO_USER'] => ncadmin
$_SERVER['PWD'] => /var/www/nextcloud/config
$_SERVER['LOGNAME'] => root
$_SERVER['HOME'] => /root
$_SERVER['LANG'] => en_US.UTF-8
$_SERVER['LS_COLORS'] => rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
$_SERVER['LESSCLOSE'] => /usr/bin/lesspipe %s %s
$_SERVER['TERM'] => xterm
$_SERVER['LESSOPEN'] => | /usr/bin/lesspipe %s
$_SERVER['USER'] => root
$_SERVER['SHLVL'] => 1
$_SERVER['PATH'] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
$_SERVER['SUDO_UID'] => 1000
$_SERVER['MAIL'] => /var/mail/root
$_SERVER['OLDPWD'] => /var/www/nextcloud
$_SERVER['_'] => /usr/bin/php
$_SERVER['PHP_SELF'] =>
$_SERVER['SCRIPT_NAME'] =>
$_SERVER['SCRIPT_FILENAME'] =>
$_SERVER['PATH_TRANSLATED'] =>
$_SERVER['DOCUMENT_ROOT'] =>
$_SERVER['REQUEST_TIME_FLOAT'] => 1627413189.1452
$_SERVER['REQUEST_TIME'] => 1627413189
$_SERVER['argv'] => Array
(
)

$_SERVER['argc'] => 0

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.net.
root@cloud:/var/www/nextcloud/config#

@enoch85
Copy link
Member

enoch85 commented Jul 28, 2021

@ozinfotech Thanks!

Just run sudo bash /var/scripts/menu.sh --> Update minor/major, and everything should be sorted.

@nextcloud nextcloud locked as resolved and limited conversation to collaborators Jul 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.