Guys i have been reading a lot and trying everything but still an error
PHP does not seem to be setup properly to query system environment variables. The test with getenv(“PATH”) only returns an empty response.
i went to www.conf and deleted the commas mentioned on the documentation
did not work try to look for my path it shows this:
printenv PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
and just in case i did try to change the default to this path as well
also did not work …
when trying to update show me this:
Check for write permissions
The following places can not be written to:
/usr/local/www/nextcloud/updater/…/remote.php
/usr/local/www/nextcloud/updater/…/status.php
/usr/local/www/nextcloud/updater/…/.htaccess
/usr/local/www/nextcloud/updater/…/index.html
/usr/local/www/nextcloud/updater/…/version.php
/usr/local/www/nextcloud/updater/…/index.php
/usr/local/www/nextcloud/updater/…/console.php
/usr/local/www/nextcloud/updater/…/robots.txt
/usr/local/www/nextcloud/updater/…/public.php
/usr/local/www/nextcloud/updater/…/cron.php
/usr/local/www/nextcloud/updater/…/COPYING
/usr/local/www/nextcloud/updater/…/occ
/usr/local/www/nextcloud/updater/…/AUTHORS
to who or where should i modify the permission?
root@nextcloudjail:/usr/local/www/nextcloud/updater # ls -l
total 36
-rw-r–r-- 1 www www 65827 Nov 18 11:47 index.php
some how i manage to migrate to 20.0.4**Your version is up to date.
by shutting down the server on the plugin session and hoping truenas do the magic still needed to do a few things after… when the session was launch
couple of things needed to be fixed here is how i fixed inside the jail doing ssh:
occ db:add-missing-indices
occ db:add-missing-columns
occ db:convert-filecache-bigint
then going again… to the folder of apps-pkg and given them the right permission as follow: chown -R www:www /usr/local/www/nextcloud/apps-pkg
still havent figure out how to fix my first issue: * PHP does not seem to be setup properly to query system environment variables. The test with getenv(“PATH”) only returns an empty response. Please check the installation documentation for PHP configuration notes and the PHP configuration of your server, especially when using php-fpm.
The permissions have to be set to the user who is running the update. If you execute php, it’s mostly the webserver user, www-data for debian/ubuntu, www on FreeBSD, … with ps or top you can check the owner of a process.