Error upgrading to 32.0.15

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 32.0.15
  • Operating system and version (e.g., Ubuntu 24.04):
    • on kasserver hoster
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.4
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • when upgrading from previous version
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • via ssl - occ commands
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • no

Summary of the issue you are facing:

hi. was upgrading through different versions (one by one) and got stuck on 32.0.15

Starting code integrity check…
OCP\App\AppPathNotFoundException: Could not find path for _files_external_gdrive
Update failed

Can not login anymore to check for previous external connections (to gdrive)

Steps to replicate it (hint: details matter!):

  1. php occ upgrade

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>WebFTP - ALL-INKL.COM</title>
<meta name="language" content="de" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<link href="all-inkl-favicon.ico" rel="shortcut icon"/>
<meta name="description" content="Als Kunde von ALL-INKL.COM können Sie WebFTP zur Verwalten der Daten in Ihrem Webspace nutzen." />
<link href="layout/all-inkl-design/style.css" rel="stylesheet" media="screen" type="text/css"/>
<script type="text/javascript" src="/script/bb64576420f15e784df35f89e2b70ca7a1.1792479787.js"></script>
<script src="script/tooltip.js" type="text/javascript"></script>
</head>
<body>
<div id="wrapper">
      <table border="0" width="100%" cellspacing="0"><tr>
      <td id="shadow_left" width="3%"></td>
      <td>
  <div id="container">
<div id="header">
      <h1 role="banner" aria-label="Web FTP"><a title="zur Startseite" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3" aria-label="zur Startseite">ALL-INKL.COM - WEBFTP</a></h1>
      <div class="logout" role="label"><span>cloud.netdav.de</span> | <a title="Logout" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;logout=1">Logout</a></div>
      </div><script type="text/javascript" language="javascript">var session_id="f031a914bdb0334447fe86a5dd380fe3",language="deutsch",token="22655cafcc116629eda8185a0e90f293b1ecf152a8012084613ce63c5c75a043";</script>    <nav id="topmenu">
      <ul role="menubar">
        <li role="none"><a title='Einen neuen Ordner erstellen' href='index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;action=ordner_neu' role='menuitem'>Neuer Ordner</a></li>
        <li role="none"><a title='Eine neue Datei auf dem Server erstellen' href='index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;action=datei_neu' role='menuitem'>Neue Datei</a></li>
        <li role="none"><a title='Dateien zum FTP-Server laden' href='index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;action=upload' role='menuitem'>Upload</a></li>
        <li role="none"><a title='den aktuellen Ordner aktualisieren' href='index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;do=aktualisieren&dir=Ly1EQVRBL01JQ0xPVUQvZGF0YQ%3D%3D' role='menuitem'>Aktualisieren</a></li>
      </ul>
    </nav>
    <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
    <div class="clearer"></div>
    <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
<div class="content overview" ><div class="info_loading" id="info_loading"><img src="layout/all-inkl-design/file-icons/ajax_loader_middle.gif" alt="loading" height="30" width="30"/>wird geladen</div>
        <div class="path" role="navigation" aria-label="Verzeichnisbaum:">Verzeichnisbaum: <a href="javascript:addvalue('chdir','directory','Lw==');">w005850c</a>/<a href="javascript:addvalue('chdir','directory','Ly1EQVRBLw==');">-DATA</a>/<a href="javascript:addvalue('chdir','directory','Ly1EQVRBL01JQ0xPVUQv');">MICLOUD</a>/<a href="javascript:addvalue('chdir','directory','Ly1EQVRBL01JQ0xPVUQvZGF0YS8=');">data</a>/</div>
        <div class="stats"><span>Ordner: 10 </span>|<span> Dateien: 9 </span>|<span> Größe: 1138MB </span>|<span> FTP-Modus: automatisch</span></div><div class="clearer"></div>
        <nav class="actions top" role="menubar">
            <button title="markierte Dateien oder Verzeichnisse löschen" onclick="javascript:submitform2('delete');" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse löschen"><img src="layout/all-inkl-design/buttons/de/delete.png" alt="löschen"/></button>
            <button title="markierte Dateien oder Verzeichnisse verschieben" onclick="javascript:submitform2('move');" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse verschieben"><img src="layout/all-inkl-design/buttons/de/move.png" alt="verschieben"/></button>
            <button title="markierte Dateien oder Verzeichnisse kopieren" onclick="javascript:submitform2('copy');" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse kopieren"><img src="layout/all-inkl-design/buttons/de/copy.png" alt="kopieren"/></button>
            <select class="dropmenu" id="me1" style="float:left;margin-left:10px;margin-right:5px;" title="markierte Dateien oder Verzeichnisse umbenennen, Berechtigungen setzen, Symlink anlegen, Archiv erstellen, entpacken oder herunterladen" name="menu1" role="menuitem listbox" aria-label="markierte Dateien oder Verzeichnisse umbenennen, Berechtigungen setzen, Symlink anlegen, Archiv erstellen, entpacken oder herunterladen"><option class="dropmenu_option0" selected="selected" value="#">Aktionen</option><option class="dropmenu_option1" value="umbenennen">Umbenennen</option><option class="dropmenu_option1" value="chmod">Berechtigungen (chmod)</option><option class="dropmenu_option1" value="symlink">Symlink anlegen</option><option class="dropmenu_option1" value="zip_archiv">Archiv erstellen</option><option class="dropmenu_option1" value="entpacken">Archiv entpacken</option><option class="dropmenu_option1" value="zip_download">Download (zip)</option></select><button onclick="submitform2(document.getElementById('me1').value);" aria-label="OK"><img alt="OK" src="layout/all-inkl-design/buttons/de/ok.png"/></button>

<div class="domain_auswahl"><form action="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3" method="post" name="select_user_domain"><label for="user_domain"><b>Domain: </b></label><select class="dropmenu" id="user_domain" title="aktive Domain auswählen" name="user_domain" style="margin-right: 5px;"><option value="sub_0" selected="selected" >cloud.netdav.de</option><option value="sub_1" >cloudstatistics.netdav.de</option><option value="sub_2" >message.netdav.de</option><option value="sub_3" >micloud.netdav.de</option></select><button aria-label="aktive Domain auswählen" onclick="document.select_user_domain.submit(); return false;"><img src="layout/all-inkl-design/buttons/de/ok.png" alt="OK" /></button></form></div></nav><div id="drag_helper" style="width:2px;height:10px;color:red;background-color:red;display:none;"></div><form action="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3" method="post" name="chdir"><input name="directory" type="hidden" value="" /></form>
        <form action="index.php" method="post" name="fileaction">
        <input name="directory" type="hidden" value="Ly1EQVRBL01JQ0xPVUQvZGF0YQ=="/>
        <input name="session_id" type="hidden" value="f031a914bdb0334447fe86a5dd380fe3"/>
        <input name="action" type="hidden" value=""/>
        <section role="region"><table class="ftp nav" id="navtable" cellspacing="0" role="grid" aria-label="Directory Index">
        <colgroup><col/><col/><col/><col/><col/><col/><col/><col/></colgroup>
        <thead role="rowgroup">
        <tr class="navhead" role="row">
            <th class="select"><input title="alle auswählen" name="select_all1" type="checkbox" value="1" onclick="select_all(this.checked);" aria-label="alle auswählen"/></th>
            <th class="name sortcol sortasc" role="columnheader" aria-sort="ascending">
               <div class="dragger_div"><img src="layout/dragger.jpg" alt=""/></div><a title="nach Name sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=name&amp;desc">Name</a>
            </th>
            <th class="kind sortcol" role="columnheader" aria-sort="none">
               <div class="dragger_div"><img src="layout/dragger.jpg" alt=""/></div><a title="nach Dateityp sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=type">Typ</a>
            </th>
            <th class="size sortcol" role="columnheader" aria-sort="none">
               <div class="dragger_div"><img src="layout/dragger.jpg" alt=""/></div><a title="nach Dateigröße sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=size">Größe</a>
            </th>
            <th class="owner sortcol" width="94" role="columnheader" aria-sort="none">
               <div class="dragger_div"><img src="layout/dragger.jpg" alt=""/></div><a title="nach Besitzer sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=owner">Besitzer</a>
            </th>
            <th class="group sortcol" role="columnheader" aria-sort="none">
               <div class="dragger_div"><img src="layout/dragger.jpg" alt=""/></div><a title="nach gruppe sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=group">Gruppe</a>
            </th>
            <th class="permission sortcol" role="columnheader" aria-sort="none">
               <div class="dragger_div"><img src="layout/dragger.jpg" alt=""/></div><a title="nach Berechtigungen sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=brtg">Chmod</a>
            </th>
            <th class="date sortcol" role="columnheader" aria-sort="none">
               <a title="nach Datum sortieren" href="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3&amp;sort=date">Datum</a>
            </th>
            <th class="nava nosort" width="106" role="columnheader">Aktionen</th>
        </tr>
        </thead>
        <tbody id="tbody" role="rowgroup">

        	    <tr class="toparent roweven"><td class="sel"> </td><td></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> <td> </td></tr>
	    <tr class="toparent rowodd"><td class="sel"> </td><td></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> <td> </td></tr>
	    <tr class="toparent roweven"><td class="sel"> </td><td></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> <td> </td></tr>
	    <tr class="toparent rowodd"><td class="sel"> </td><td></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> <td> </td></tr>
	    <tr class="toparent roweven"><td class="sel"> </td><td></td><td> </td><td> </td><td> </td><td> </td><td> </td><td> </td> <td> </td></tr></tbody>
    </table></section>
<script type="text/javascript"><!--
$('#navtable').ready(function () {
    $(this).children('th:eq(1): a').innerWidth();
    $.post("ajax/ftp_navigation.php", $.param({directory: "Ly1EQVRBL01JQ0xPVUQvZGF0YQ==",sort: '',desc: '',session_id: "f031a914bdb0334447fe86a5dd380fe3"},null), function(data){
        if (data.length > 1) {
            $('#info_loading').hide();
            $('#tbody').html(data);
            navrefresh();
        }
    }, null);
});
--></script>
<script src="script/jquery.event.drag-2.0.min.js" type="text/javascript"></script>
<script src="script/resize.js" type="text/javascript"></script>
<script type="text/javascript"><!--
navrefresh();
$('#navtable').resize();
--></script>
</form>
<form action="index.php?session_id=f031a914bdb0334447fe86a5dd380fe3" method="post" name="download">
<input type="hidden" name="session_id" value="f031a914bdb0334447fe86a5dd380fe3" />
<input type="hidden" name="url" value="" />
<input type="hidden" name="action" value="file_download" />
</form>
<nav class="actions bottom" role="menubar">
    <input title="alle auswählen" name="select_all2" type="checkbox" value="1" onclick="select_all(this.checked);" aria-label="alle auswählen"/>
    <button title="markierte Dateien oder Verzeichnisse löschen" onclick="javascript:submitform2('delete');" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse löschen"><img src="layout/all-inkl-design/buttons/de/delete.png" alt="löschen"/></button>
    <button title="markierte Dateien oder Verzeichnisse verschieben" onclick="javascript:submitform2('move');" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse verschieben"><img src="layout/all-inkl-design/buttons/de/move.png" alt="verschieben"/></button>
    <button title="markierte Dateien oder Verzeichnisse kopieren" onclick="javascript:submitform2('copy');" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse kopieren"><img src="layout/all-inkl-design/buttons/de/copy.png" alt="kopieren"/></button>
    <select class="dropmenu" id="me2" style="float:left;margin-left:10px;margin-right:5px;" title="markierte Dateien oder Verzeichnisse umbenennen, Berechtigungen setzen, Symlink anlegen, Archiv erstellen, entpacken oder herunterladen" name="menu1" role="menuitem" aria-label="markierte Dateien oder Verzeichnisse umbenennen, Berechtigungen setzen, Symlink anlegen, Archiv erstellen, entpacken oder herunterladen"><option selected="selected" class="dropmenu_option0" value="#">Aktionen</option><option class="dropmenu_option1" value="umbenennen">Umbenennen</option><option class="dropmenu_option1" value="chmod">Berechtigungen (chmod)</option><option class="dropmenu_option1" value="symlink">Symlink anlegen</option><option class="dropmenu_option1" value="zip_archiv">Archiv erstellen</option><option class="dropmenu_option1" value="entpacken">Archiv entpacken</option><option class="dropmenu_option1" value="zip_download">Download (zip)</option></select><button title="ok" onclick="submitform2(document.getElementById('me2').value);"/><img src="layout/all-inkl-design/buttons/de/ok.png" alt="action"></button>
        </nav>
    </div>

    <!-- ///////////////////////////////////////////////////////////////////////////////////////////////////////////////// -->
    <hr class="accessibility" />
    <!-- * Footer * -->
    <div id="footer"><div style="margin: 0 0 0.8em;"><a href="https://all-inkl.com/impressum/" target="_blank">Impressum</a> | <a href="https://all-inkl.com/agb/" target="_blank">AGB</a> | <a href="https://all-inkl.com/datenschutzinformationen/" target="_blank">Datenschutzinformation</a></div><div>ALL-INKL.COM | Hauptstrasse 68 | D-02742 Friedersdorf | Fon +49 35872 353-10 | Fax +49 35872 353-30</div></div>
  </div><!--container-->
</td><td id="shadow_right" width="3%"></td></tr>
<tr style="font-size: 1px; height: 15px;">
<td id="shadow_bottom_l">&nbsp;</td>
<td id="shadow_bottom">&nbsp;</td>
<td id="shadow_bottom_r">&nbsp;</td>
</tr></table>
</div><!--wrapper--></body>
</html> HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "micloud.netdav.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "\/www\/htdocs\/w005850c\/-DATA\/micloud_temp",
        "dbtype": "mysql",
        "version": "31.0.14.1",
        "overwrite.cli.url": "https:\/\/micloud.netdav.de\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": true,
        "maintenance_window_start": 1,
        "theme": "",
        "loglevel": 0,
        "app_install_overwrite": [
            "files_external_gdrive",
            "solitaire",
            "dicomviewer",
            "user_migration"
        ],
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpsecure": "tls",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.release.channel": "stable",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

quick & dirty:

  • try disabling problematic app using occ from bash
    e.g
cd /PATH/TO/NEXTCLOUD
sudo -u www-data php occ app:disable NAME_OF_APP

If you don‘t know the name of the app, you can list all apps with:

sudo -u www-data php occ app:list

maybe even remove it for the time being (keeping it’s data stored in database - if you don’t want/need that just ignore the --keep-data part

sudo -E -u www-data php occ app:remove --keep-data <app_name>

though that’s a strange errormessage the installer throws… at 2nd sight. Maybe the connection timed out in between?

awww and I see that you are hosting on all-inkl.com - what kind of plan do you have with them?

Thank’s @JimmyKater problem is that there is no app with that name (not even close) except for the standard app files_external (which I tried to disable and delete already in my first attempt to address the issue.

Never had problem with All-Inkl and I have an extended plan with them (not business though)

errrr.. this is strange. really.
So you never had it installed (i just found out that it apparently is deprecated since a long time, already) GitHub - NastuzziSamy/files_external_gdrive: [BETA - UNSTABLE] GDrive external storage for NextCloud · GitHub - not working anymore from NC17 on.

You wrote

from which version on did you started upgrading?

anyways I guess removing app by its identifier files_external_gdrive should help. hopefully.
and pls remove all possible mountpoints from within your external-storage-overview referring to google.

there seems to be a new version of a similar app doing that job. But handle with care, again it’s a 3rd-party app and thus it could get abandonned at some point.

GOT IT → solved the problem

there was an app in list “STOP_files_external_gdrive”

after renaming to “_files_external_gdrive”

and the deleting the directory in the app folder, the occ upgrade went fine and successfully !!