Upgrading NextCloud on PLESK Server

I encountered timeouts and problems with the web updater of NextCloud. Since it is super easy to use the command line updater and nothing like that has appeared here I think this is the way to go. I run a root server with PLESK. I use PHP 7.3 installed via plesk for the cloud subdomain.

Here are all the commands:

Change directory to wherever your NextCloud installation is located:

 cd /var/www/vhosts/DOMAIN/cloud 

Your USER would be www-data or the owner of the domain in PLESK:

sudo -u USER /opt/plesk/php/7.3/bin/php updater/updater.phar

Say “yes” to start the upgrade.

Say no here! The system php maybe different from the one used by Plesk.

sudo -u USER /opt/plesk/php/7.3/bin/php occ upgrade

This checks if some maintenance on db side (not indexed columns) needs to be taken care of.

sudo -u USER /opt/plesk/php/7.3/bin/php ./occ db:add-missing-indices

Then switch off the maintenance mode.

sudo -u USER /opt/plesk/php/7.3/bin/php occ maintenance:mode --off

Wine (Crossover Office 18) and Microsoft Office 2016

I use Ubuntu (18.10) for work. For RDP I use a Virtual Machine running Windows 10. While LibreOffice is great for many things, its Microsoft Office comparability is limited. Especially PowerPoint presentations do not look great. Google Slides does a great job here. As long as I have an internet connection it is my preferred choice for office, also due to its collaboration features. Sometimes I still need to use original Microsoft Office applications. Running them in a VM is one option, but the integration into the filesystem, especially with my Nextcloud sucks though.

Years ago I was running an older version of office with WINE. I was not in the mood to play around with the config so I bought Crossover Office 2018 and give Microsoft Office 2016 (32 bit) a try. The good thing is the money will find its way towards the WINE project.

Out of the box Word, Excel, Access, Outlook and Publisher seem to work. PowerPoint did not. It took me a while to figure it out and Google did not help much. But after disabling ‘Performance Enhanced Graphics’ for the bottle it launches.

Yabause 0.9.15 and (K) Ubuntu 18.10

I own a Sega Saturn which I did not bring to the US. I really do not want to mess around with PAL/NTSC and the power adapter.
Luckily there is a great emulator for that old gaming console: Yabause.

Ubuntu and its variants ship Yabause 0.9.14. Since 2016 0.9.15 is out and it has several bug fixes which are listed in the changelog.

I decided to build it from the source code. That required a few adjustments and I am writing them down more or less for myself for future reference.

The source code can be downloaded from here.Extract archive and create build directory

Extract archive and create build directory:
cd Downloads
tar xvf ~/Downloads/yabause-0.9.15.tar.gz
cd yabause-0.9.15
mkdir build
cd build
Install dependencies:
sudo apt install freeglut3-dev libglew-dev libopenal-dev qtbase5-dev qtmultimedia5-dev cmake cmake-gui libqt5multimedia5 libqt5gamepad5-dev 

Note that I might be missing some here that were already installed on my system but might not be installed on yours. If you encounter errors I am happy to help out in the comments.

Add missing includes to header files:

Line 25 of ../src/qt/ui/UICheats.h add
#include <QButtonGroup>

Line 23 of ../src/qt/ui/UICheats.h add
#include <QButtonGroup>

Line 25 of ../src/qt/ui/UIHexInput.h add
#include <QValidator>
Click configure and generate. This is where missing libraries show up.
Run cmake with options (otherwise linking will fail)  and qt:
Run make and install: 
sudo make install
Dungeons & Dragons: TheTower of Doom