Before some proc_get_status() error occurs:
Go here:
INVOICENINJAFOLDER/vendor/symfony/process/Process.php
Find:
$this->processInformation = proc_get_status($this->process);
Do: Comment it out
Do: Start upgrade
Done.
Failed and working projects, notes etc.
Before some proc_get_status() error occurs:
Go here:
INVOICENINJAFOLDER/vendor/symfony/process/Process.php
Find:
$this->processInformation = proc_get_status($this->process);
Do: Comment it out
Do: Start upgrade
Done.
If you updated to the latest version and the following error appears when you try to launch Themler please follow the instruction below:
Fatal error: require_once(): Failed opening required '[...]/administrator/includes/toolbar.php' (include_path='.:/usr/lib/php7.2') in [...]/templates/[theme_name]/app/index.php on line 25
www/Joomla_directory/templates
;/app
folder;index.php
for editing in any html or text editor;require_once JPATH_BASE . DS . 'includes' . DS . 'toolbar.php';
$prefix = version_compare(JVERSION, '3.9', '>=') ? 'sub' : '';
require_once JPATH_BASE . DS . 'includes' . DS . $prefix . 'toolbar.php';
/app/start
folder;data.php
file for editing and follow step 4;manifest.php
file for editing and follow step 4;To force a scan after a manual file transfer, for example, can be done as follows:
sudo -u [USER] php occ files:scan --all
for example:
sudo -u john php occ files:scan --all
Usage: files:scan [-p|--path="..."] [-q|--quiet] [-v|vv|vvv --verbose] [--all] [user_id1] ... [user_idN] Arguments: user_id will rescan all files of the given user(s) Options: --path limit rescan to the user/path given --all will rescan all files of all known users --quiet suppress any output --verbose files and directories being processed are shown additionally during scanning --unscanned scan only previously unscanned files
Source: https://docs.nextcloud.com/server/15/admin_manual/configuration_server/occ_command.html
apt-get install apt-transport-https lsb-release ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
sh -c 'echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
apt-get update
apt-get install php7.2-common libapache2-mod-php7.2 php7.2-cgi php7.2-cli php7.2-phpdbg php7.2-fpm libphp7.2-embed php7.2-dev php7.2-curl php7.2-gd php7.2-imap php7.2-interbase php7.2-intl php7.2-ldap php7.2-readline php7.2-odbc php7.2-pgsql php7.2-pspell php7.2-recode php7.2-tidy php7.2-xmlrpc php7.2 php7.2-json php-all-dev php7.2-sybase php7.2-sqlite3 php7.2-mysql php7.2-opcache php7.2-bz2 libapache2-mod-php7.2 php7.2-mbstring php7.2-pdo php7.2-dom php7.2-enchant php7.2-gmp php7.2-soap php7.2-zip
In case you need mcrypt:
apt-get -y install gcc make autoconf libc-dev pkg-config
apt-get -y install libmcrypt-dev
apt-get install php7.2-dev
pecl install mcrypt-1.0.1
When you see the prompt “libmcrypt prefix? [autodetect] :” -> Press [Enter] to autodetect
php -i | grep "mcrypt"
a2dismod php7.0
*or whatever version you are upgrading from)
a2enmod php7.2