sudo ncp-update
Downloading updates
Performing updates
Hit:1 Index of /raspbian stretch InRelease
Get:2 Index of /debian stretch InRelease [25.4 kB]
Fetched 25.4 kB in 1s (23.0 kB/s)
Reading package listsā¦ Done
Reading package listsā¦ Done
Building dependency tree
Reading state informationā¦ Done
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Hit:1 Index of /raspbian stretch InRelease
Get:2 Index of /debian stretch InRelease [25.4 kB]
Fetched 25.4 kB in 1s (24.1 kB/s)
Reading package listsā¦ Done
Reading package listsā¦ Done
Building dependency tree
Reading state informationā¦ Done
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Cannot load Zend OPcache - it was already loaded
Config value jpeg_quality for app preview set to 60
Hit:1 Index of /raspbian stretch InRelease
Get:2 Index of /debian stretch InRelease [25.4 kB]
Fetched 25.4 kB in 2s (10.7 kB/s)
Reading package listsā¦ Done
Hit:1 Index of /raspbian stretch InRelease
Get:2 Index of /debian stretch InRelease [25.4 kB]
Fetched 25.4 kB in 0s (26.6 kB/s)
Reading package listsā¦ Done
Reading package listsā¦ Done
Building dependency tree
Reading state informationā¦ Done
0 upgraded, 0 newly installed, 0 to remove and 27 not upgraded.
Failed to enable unit: File haveged.service: No such file or directory
====== EDIT ======
Also as you can read itās recommended to use this update tools.
If this script just installs everything āthe normal wayā I could help you.
But I donāt want to mess up this script.
sudo apt-get update && apt-get upgrade -y
With this command you pull updates for your Operating System.
What happens if you want to connect to the Webinterface?
<?php
/**
*
* Your webserver seems to be not configured to use PHP or PHP is not installed.
* Please contact your administrator or follow our documentation:
* https://docs.nextcloud.com/server/15/admin_manual/installation/source_installation.html
*
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
* @author Georg Ehrke
* @author Joas Schilling
* @author JĆĀ¶rn Friedrich Dreyer
* @author Lukas Reschke
* @author Morris Jobke
* @author Robin Appelman
* @author Sergio BertolĆĀn
* @author Thomas MĆĀ¼ller
* @author Vincent Petry
*
* @license AGPL-3.0
*
* This code is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3,
* as published by the Free Software Foundation.
*
* 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. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
* along with this program. If not, see
*
*/
require_once __DIR__ . '/lib/versioncheck.php';
try {
require_once __DIR__ . '/lib/base.php';
OC::handleRequest();
} catch(\OC\ServiceUnavailableException $ex) {
\OC::$server->getLogger()->logException($ex, array('app' => 'index'));
//show the user a detailed error page
OC_Template::printExceptionErrorPage($ex, 503);
} catch (\OC\HintException $ex) {
try {
OC_Template::printErrorPage($ex->getMessage(), $ex->getHint(), 503);
} catch (Exception $ex2) {
try {
\OC::$server->getLogger()->logException($ex, array('app' => 'index'));
\OC::$server->getLogger()->logException($ex2, array('app' => 'index'));
} catch (Throwable $e) {
// no way to log it properly - but to avoid a white page of death we try harder and ignore this one here
}
//show the user a detailed error page
OC_Template::printExceptionErrorPage($ex, 500);
}
} catch (\OC\User\LoginException $ex) {
OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage(), 403);
} catch (Exception $ex) {
\OC::$server->getLogger()->logException($ex, array('app' => 'index'));
//show the user a detailed error page
OC_Template::printExceptionErrorPage($ex, 500);
} catch (Error $ex) {
try {
\OC::$server->getLogger()->logException($ex, array('app' => 'index'));
} catch (Error $e) {
http_response_code(500);
header('Content-Type: text/plain; charset=utf-8');
print("Internal Server Error\n\n");
print("The server encountered an internal error and was unable to complete your request.\n");
print("Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.\n");
print("More details can be found in the webserver log.\n");
throw $ex;
}
OC_Template::printExceptionErrorPage($ex, 500);
}
The correct way to distro upgrade with NCP is ncp-distro-upgrade. The steps that were advised here broke the installation so I would start from scratch with the latest image and restore a backup.
There is no NCP bug here, but you tweaked with what you donāt understand. I suggest that in the future you ask here in forums, look at the documentation (docs.nextcloudpi.com) or ping us in the Telegram group.