Ncp-update-nc several major versions failed

Hi.

I’d like to update nc from 16.x.y. to 21.0.x with ncp-update-nc and it failed throw a ssh logout /timeout. I read about … and want to get it back work and I go back to version 16 with the following article

.

This was fine from the shells output perspective, but the server was still down (…). I then updated to 17.0.10 like recommended. But it won’t fix … the update process was fine. BUT the f*** nc is not working anymore… can please anyone help me here… to get it back working.

i paste the $( ncp-report ) below…

<–! Paste this in GitHub report →

NextCloudPi diagnostics

NextCloudPi version  v1.40.4
NextCloudPi image    NextCloudPi_07-21-19
distribution         Raspbian GNU/Linux 10 \n \l
automount            no
USB devices          sda sdb
datadir              /var/www/nextcloud/data
data in SD           yes
data filesystem      ext2/ext3
data disk usage      4.2G/59G
rootfs usage         4.2G/59G
swapfile             /var/swap
dbdir                /var/lib/mysql
Nextcloud check      ok
Nextcloud version    17.0.10.1
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
HPB service          down
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               10min

Nextcloud configuration

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
***REMOVED SENSITIVE VALUE***
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "17.0.10.1",
        "overwrite.cli.url": "https:\/\/tobanja.duckdns.org\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/var\/www\/nextcloud\/data\/tmp",
        "mail_smtpmode": "sendmail",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "preview_max_x": "2048",
        "preview_max_y": "2048",
        "jpeg_quality": "60",
        "overwriteprotocol": "https",
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    }
}

HTTPd logs

[Sun Oct 10 00:00:07.102603 2021] [ssl:warn] [pid 891:tid 1995760192] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 10 00:00:07.105282 2021] [mpm_event:notice] [pid 891:tid 1995760192] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Sun Oct 10 00:00:07.105326 2021] [core:notice] [pid 891:tid 1995760192] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 10 00:40:09.406204 2021] [core:error] [pid 15985:tid 1526682624] [client 45.146.164.110:58272] AH00126: Invalid URI in request POST /cgi-bin/.%2e/.%2e/.%2e/.%2e/bin/sh HTTP/1.1
[Sun Oct 10 06:47:01.030497 2021] [mpm_event:notice] [pid 891:tid 1995760192] AH00491: caught SIGTERM, shutting down
[Sun Oct 10 06:47:01.206805 2021] [ssl:warn] [pid 20883:tid 1996083776] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 10 06:47:01.249221 2021] [ssl:warn] [pid 20885:tid 1996083776] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 10 06:47:01.256159 2021] [mpm_event:notice] [pid 20885:tid 1996083776] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Sun Oct 10 06:47:01.256315 2021] [core:notice] [pid 20885:tid 1996083776] AH00094: Command line: '/usr/sbin/apache2'
[Sun Oct 10 09:43:14.251579 2021] [mpm_event:notice] [pid 20885:tid 1996083776] AH00491: caught SIGTERM, shutting down
[Sun Oct 10 09:43:40.770634 2021] [ssl:warn] [pid 704:tid 1996153408] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 10 09:43:40.831010 2021] [ssl:warn] [pid 896:tid 1996153408] AH01909: localhost:4443:0 server certificate does NOT include an ID which matches the server name
[Sun Oct 10 09:43:40.837849 2021] [mpm_event:notice] [pid 896:tid 1996153408] AH00489: Apache/2.4.38 (Raspbian) OpenSSL/1.1.1d configured -- resuming normal operations
[Sun Oct 10 09:43:40.838033 2021] [core:notice] [pid 896:tid 1996153408] AH00094: Command line: '/usr/sbin/apache2'

Database logs

2021-10-10  9:43:40 0 [Note] InnoDB: Uses event mutexes
2021-10-10  9:43:40 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2021-10-10  9:43:40 0 [Note] InnoDB: Number of pools: 1
2021-10-10  9:43:40 0 [Note] InnoDB: Using generic crc32 instructions
2021-10-10  9:43:41 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
2021-10-10  9:43:41 0 [Note] InnoDB: Completed initialization of buffer pool
2021-10-10  9:43:41 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2021-10-10  9:43:41 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
2021-10-10  9:43:41 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2021-10-10  9:43:41 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2021-10-10  9:43:41 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2021-10-10  9:43:41 0 [Note] InnoDB: 10.3.29 started; log sequence number 3359946573; transaction id 19246932
2021-10-10  9:43:41 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2021-10-10  9:43:41 0 [Note] Plugin 'FEEDBACK' is disabled.
2021-10-10  9:43:42 0 [Note] Server socket created on IP: '127.0.0.1'.
2021-10-10  9:43:42 0 [Note] Reading of all Master_info entries succeeded
2021-10-10  9:43:42 0 [Note] Added new Master_info '' to hash table
2021-10-10  9:43:42 0 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.3.29-MariaDB-0+deb10u1'  socket: '/run/mysqld/mysqld.sock'  port: 3306  Raspbian 10
2021-10-10  9:43:43 0 [Note] InnoDB: Buffer pool(s) load completed at 211010  9:43:43

Nextcloud logs

{"reqId":"YWKqEOOuL4U8Ah8xdkLgiwAAAwA","level":2,"time":"2021-10-10T08:53:36+00:00","remoteAddr":"94.134.4.94","user":"tobias","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"Temporary directory \/var\/www\/nextcloud\/data\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko\/20100101 Firefox\/92.0","version":"17.0.10.1"}
{"reqId":"YWKqEOOuL4U8Ah8xdkLgiwAAAwA","level":2,"time":"2021-10-10T08:53:36+00:00","remoteAddr":"94.134.4.94","user":"tobias","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"Temporary directory \/var\/www\/nextcloud\/data\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko\/20100101 Firefox\/92.0","version":"17.0.10.1"}
{"reqId":"YWKqEOOuL4U8Ah8xdkLgiwAAAwA","level":2,"time":"2021-10-10T08:53:36+00:00","remoteAddr":"94.134.4.94","user":"tobias","app":"no app in context","method":"GET","url":"\/index.php\/apps\/files\/","message":"Temporary directory \/var\/www\/nextcloud\/data\/tmp is not present or writable","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:92.0) Gecko\/20100101 Firefox\/92.0","version":"17.0.10.1"}
{"reqId":"YWKqEOOuL4U8Ah8xdkLgiwAAAwA","level":3,"time":"2021-10-10T08:53:36+00:00","remoteAddr":"94.134.4.94","user":"tobias","app":"index","method":"GET","url":"\/index.php\/apps\/files\/","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create path","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/SimpleFS\/SimpleFolder.php","line":83,"function":"newFile","class":"OC\\Files\\Node\\Folder","type":"->","args":["merged-template-prepend.js"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php","line":177,"function":"newFile","class":"OC\\Files\\SimpleFS\\SimpleFolder","type":"->","args":["merged-template-prepend.js"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php","line":103,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->","args":["\/var\/www\/nextcloud\/core\/js","merged-template-prepend.js",{"__class__":"OC\\Files\\SimpleFS\\SimpleFolder"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["\/var\/www\/nextcloud","core\/js\/merged-template-prepend.json","core"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["\/var\/www\/nextcloud","core\/js\/merged-template-prepend.json"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js\/merged-template-prepend"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php","line":341,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core\/js\/dist\/main","js\/merged-template-prepend","search\/js\/search","core\/l10n\/en","files_pdfviewer\/l10n\/en","files_pdfviewer\/js\/previewplugin","core\/js\/dist\/share_backend","files_videoplayer\/l10n\/en","files_videoplayer\/js\/main","gallery\/l10n\/en","notifications\/l10n\/en","notifications\/js\/notifications","search\/l10n\/en","search\/js\/searchprovider","js\/files\/fileinfo","js\/files\/client","files\/l10n\/en","files\/js\/merged-index","files_sharing\/l10n\/en","files_sharing\/js\/dist\/files_sharing","files_sharing\/js\/dist\/collaboration","files_trashbin\/l10n\/en","files_trashbin\/js\/files_trashbin","activity\/l10n\/en","activity\/js\/activity-sidebar","comments\/l10n\/en","comments\/js\/comments","files_versions\/l10n\/en","files_versions\/js\/files_versions","federatedfilesharing\/l10n\/en","federatedfilesharing\/js\/external","files_rightclick\/l10n\/en","files_rightclick\/js\/script","files_rightclick\/js\/files","files_sharing\/js\/dist\/additionalScripts","gallery\/js\/scripts-for-file-app","recommendations\/l10n\/en","recommendations\/js\/main","js\/dist\/systemtags","systemtags\/l10n\/en","systemtags\/js\/systemtags","text\/l10n\/en","text\/js\/files","viewer\/l10n\/en","viewer\/js\/viewer","firstrunwizard\/l10n\/en","firstrunwizard\/js\/about"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php","line":169,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core\/js\/dist\/main","js\/merged-template-prepend","search\/js\/search","core\/l10n\/en","files_pdfviewer\/l10n\/en","files_pdfviewer\/js\/previewplugin","core\/js\/dist\/share_backend","files_videoplayer\/l10n\/en","files_videoplayer\/js\/main","gallery\/l10n\/en","notifications\/l10n\/en","notifications\/js\/notifications","search\/l10n\/en","search\/js\/searchprovider","js\/files\/fileinfo","js\/files\/client","files\/l10n\/en","files\/js\/merged-index","files_sharing\/l10n\/en","files_sharing\/js\/dist\/files_sharing","files_sharing\/js\/dist\/collaboration","files_trashbin\/l10n\/en","files_trashbin\/js\/files_trashbin","activity\/l10n\/en","activity\/js\/activity-sidebar","comments\/l10n\/en","comments\/js\/comments","files_versions\/l10n\/en","files_versions\/js\/files_versions","federatedfilesharing\/l10n\/en","federatedfilesharing\/js\/external","files_rightclick\/l10n\/en","files_rightclick\/js\/script","files_rightclick\/js\/files","files_sharing\/js\/dist\/additionalScripts","gallery\/js\/scripts-for-file-app","recommendations\/l10n\/en","recommendations\/js\/main","js\/dist\/systemtags","systemtags\/l10n\/en","systemtags\/js\/systemtags","text\/l10n\/en","text\/js\/files","viewer\/l10n\/en","viewer\/js\/viewer","firstrunwizard\/l10n\/en","firstrunwizard\/js\/about"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["user","files"]},{"file":"\/var\/www\/nextcloud\/lib\/public\/AppFramework\/Http\/TemplateResponse.php","line":165,"function":"fetchPage","class":"OC_Template","type":"->","args":[{"usedSpacePercent":0,"owner":"tobias","ownerDisplayName":"Tobias Dr\u00f6\u00dfler","isPublic":false,"allowShareWithLink":"yes","defaultFileSorting":"name","defaultFileSortingDirection":"asc","showgridview":"0","isIE":false,"showHiddenFiles":0,"fileNotFound":0,"appNavigation":{"__class__":"OCP\\Template"},"appContents":{"files":{"id":"files","content":"<div id=\"controls\">\n\t\t<div class=\"actions creatable hidden\">\n\t\t\t<div id=\"uploadprogresswrapper\">\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<div id=\"file_action_panel\"><\/div>\n\t\t<div class=\"notCreatable notPublic hidden\">\n\t\t\tYou don\u2019t have permission to upload or create files here\t\t<\/div>\n\t\t<input type=\"hidden\" name=\"permissions\" value=\"\" id=\"permissions\">\n\t<input type=\"hidden\" id=\"free_space\" value=\"\">\n\t\t<input type=\"hidden\" class=\"max_human_file_size\"\n\t\t   value=\"(max )\">\n<\/div>\n\n<div id=\"emptycontent\" class=\"hidden\">\n\t<div class=\"icon-folder\"><\/div>\n\t<h2>No files in here<\/h2>\n\t<p class=\"uploadmessage hidden\">Upload some content or sync with your devices!<\/p>\n<\/div>\n\n<div class=\"nofilterresults emptycontent hidden\">\n\t<div class=\"icon-search\"><\/div>\n\t<h2>No entries found in this folder<\/h2>\n\t<p><\/p>\n<\/div>\n<table id=\"filestable\" class=\"list-container \" data-allow-public-upload=\"yes\" data-preview-x=\"250\" data-preview-y=\"250\">\n\t<thead>\n\t\t<tr>\n\t\t\t<th id=\"headerSelection\" class=\"hidden column-selection\">\n\t\t\t\t<input type=\"checkbox\" id=\"select_all_files\" class=\"select-all checkbox\"\/>\n\t\t\t\t<label for=\"select_all_files\">\n\t\t\t\t\t<span class=\"hidden-visually\">Select all<\/span>\n\t\t\t\t<\/label>\n\t\t\t<\/th>\n\t\t\t<th id='headerName' class=\"hidden column-name\">\n\t\t\t\t<div id=\"headerName-container\">\n\t\t\t\t\t<a class=\"name sort columntitle\" data-sort=\"name\">\n                        <span>Name<\/span>\n                        <span class=\"sort-indicator\"><\/span>\n\n                    <\/a>\n                    <span id=\"selectedActionsList\" class=\"selectedActions\">\n                        <a href=\"\" class=\"actions-selected\">\n                            <span class=\"icon icon-more\"><\/span>\n                            <span>Actions<\/span>\n                        <\/a>\n\t\t\t\t\t<\/span>\n\t\t\t\t<\/div>\n\t\t\t<\/th>\n\t\t\t<th id=\"headerSize\" class=\"hidden column-size\">\n\t\t\t\t<a class=\"size sort columntitle\" data-sort=\"size\"><span>Size<\/span><span class=\"sort-indicator\"><\/span><\/a>\n\t\t\t<\/th>\n\t\t\t<th id=\"headerDate\" class=\"hidden column-mtime\">\n\t\t\t\t<a id=\"modified\" class=\"columntitle\" data-sort=\"mtime\"><span>Modified<\/span><span class=\"sort-indicator\"><\/span><\/a>\n\t\t\t<\/th>\n\t\t<\/tr>\n\t<\/thead>\n\t<tbody id=\"fileList\">\n\t<\/tbody>\n\t<tfoot>\n\t<\/tfoot>\n<\/table>\n<input type=\"hidden\" name=\"dir\" id=\"dir\" value=\"\" \/>\n<div class=\"hiddenuploadfield\">\n\t<input type=\"file\" id=\"file_upload_start\" class=\"hiddenuploadfield\" name=\"files[]\" \/>\n<\/div>\n<div id=\"editor\"><\/div><!-- FIXME Do not use this div in your app! It is deprecated and will be removed in the future! -->\n<div id=\"uploadsize-message\" title=\"Upload too large\">\n\t<p>\n\tThe files you are trying to upload exceed the maximum size for file uploads on this server.\t<\/p>\n<\/div>\n"},"recent":{"id":"recent","content":"<div id='notification'><\/div>\n\n<div id=\"emptycontent\" class=\"hidden\"><\/div>\n\n<input type=\"hidden\" name=\"dir\" value=\"\" id=\"dir\">\n\n<div class=\"nofilterresults hidden\">\n\t<div class=\"icon-search\"><\/div>\n\t<h2>No entries found in this folder<\/h2>\n\t<p><\/p>\n<\/div>\n\n<table id=\"filestable\" class=\"list-container \">\n\t<thead>\n\t<tr>\n\t\t<th id='headerName' class=\"hidden column-name\">\n\t\t\t<div id=\"headerName-container\">\n\t\t\t\t<a class=\"name sort columntitle\"\n\t\t\t\t   data-sort=\"name\"><span>Name<\/span><\/a>\n\t\t\t<\/div>\n\t\t<\/th>\n\t\t<th id=\"headerSize\" class=\"hidden column-size\">\n\t\t\t<a class=\"size sort columntitle\"\n\t\t\t   data-sort=\"size\"><span>Size<\/span><\/a>\n\t\t<\/th>\n\t\t<th id=\"headerDate\" class=\"hidden column-mtime\">\n\t\t\t<a id=\"modified\" class=\"columntitle\"\n\t\t\t   data-sort=\"mtime\"><span>Modified<\/span><span\n\t\t\t\t\tclass=\"sort-indicator\"><\/span><\/a>\n\t\t\t<span class=\"selectedActions\">\n\t\t\t\t<a href=\"\" class=\"delete-selected\">\n\t\t\t\t\t<span class=\"icon icon-delete\"><\/span>\n\t\t\t\t\t<span>Delete<\/span>\n\t\t\t\t<\/a>\n\t\t\t<\/span>\n\t\t<\/th>\n\t<\/tr>\n\t<\/thead>\n\t<tbody id=\"fileList\">\n\t<\/tbody>\n\t<tfoot>\n\t<\/tfoot>\n<\/table>\n"},"favorites":{"id":"favorites","content":"<div id='notification'><\/div>\n\n<div id=\"emptycontent\" class=\"hidden\">\n\t<div class=\"icon-starred\"><\/div>\n\t<h2>No favorites yet<\/h2>\n\t<p>Files and folders you mark as favorite will show up here<\/p>\n<\/div>\n\n<input type=\"hidden\" name=\"dir\" value=\"\" id=\"dir\">\n\n<div class=\"nofilterresults hidden\">\n\t<div class=\"icon-search\"><\/div>\n\t<h2>No entries found in this folder<\/h2>\n\t<p><\/p>\n<\/div>\n<table id=\"filestable\" class=\"list-container \">\n\t<thead>\n\t\t<tr>\n\t\t\t<th id='headerName' class=\"hidden column-name\">\n\t\t\t\t<div id=\"headerName-container\">\n\t
[...]

Suspect you are on rpi2 or 3 ?
And arm7 and lower are no longer supported.
Most Likely better to upgrade to 64bits harware.

Also check docs.nextcloudpi.com look for how to stay up to date.

This is a rpi3 Plattform… Thank you for the hint. So, to which version I can go?

Run

sudo uname -r

If on v7, or lower, you are out of luck. The only thing you can try, afaik, is a clean install of minimal Raspian 10 and run the curl installer

sudo uname -r
5.10.63-v7+

@OliverV Do you have evidence that this is the problem? or is it just a guess

And if this is the problem i will go back to 16.x.y in the way i described above in the link. That should fix the problem?

Quote from

“we have been using 64bit Rpi images for a long time FYI”

Hi and Thank you Oliver…

But, sorry…I’m not sure what you’re trying to tell me. This is and open issue, your link… and then you type "we have been using 64bit Rpi images for a long time FYI". … i am confused.

If you have an advice… i would be very thankful.

My Situation in a more detailed way:

I’d like to have my server running again, with data/state it was days before i start this update try.
I do not need this update for now. Prio. is to have it back running in a proper way.

Why i triggered an Update:
I had a issue with an external andriod notes app … and then figured out my nc version is OLD.

Then I recogniced … this ncp-update will not update nc itself.
So i tried ncp-udapte-nc . Then my SSH Session was termined trought a timeout (…), which finally resulted in the state i have now.

your ncp report shows that nc is up, what is not working exactly

I get the follwoing text, when I enter the URL:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

I had to reduce the report output to paste it here … there is character limit.
So I will take a further deeper look … and get this long line, looks like a call stack:

{"reqId":"YWRc2Cp0HGjbbV5pgXL8ygAAUAE","level":3,"time":"2021-10-11T15:48:41+00:00","remoteAddr":"212.111.241.81","user":"***REMOVED SENSITIVE VALUE***","app":"core","method":"GET","url":"\/index.php\/apps\/files\/","message":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create path","Code":0,"Trace":[{"file":"\/var\/www\/nextcloud\/lib\/private\/Files\/SimpleFS\/SimpleFolder.php","line":83,"function":"newFile","class":"OC\\Files\\Node\\Folder","type":"->","args":["merged-template-prepend.js"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php","line":177,"function":"newFile","class":"OC\\Files\\SimpleFS\\SimpleFolder","type":"->","args":["merged-template-prepend.js"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSCombiner.php","line":103,"function":"cache","class":"OC\\Template\\JSCombiner","type":"->","args":["\/var\/www\/nextcloud\/core\/js","merged-template-prepend.js",{"__class__":"OC\\Files\\SimpleFS\\SimpleFolder"}]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":114,"function":"process","class":"OC\\Template\\JSCombiner","type":"->","args":["\/var\/www\/nextcloud","core\/js\/merged-template-prepend.json","core"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/JSResourceLocator.php","line":70,"function":"cacheAndAppendCombineJsonIfExist","class":"OC\\Template\\JSResourceLocator","type":"->","args":["\/var\/www\/nextcloud","core\/js\/merged-template-prepend.json"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/ResourceLocator.php","line":78,"function":"doFind","class":"OC\\Template\\JSResourceLocator","type":"->","args":["js\/merged-template-prepend"]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php","line":341,"function":"find","class":"OC\\Template\\ResourceLocator","type":"->","args":[["core\/js\/dist\/main","js\/merged-template-prepend","search\/js\/search","core\/l10n\/en","files_pdfviewer\/l10n\/en","files_pdfviewer\/js\/previewplugin","core\/js\/dist\/share_backend","files_videoplayer\/l10n\/en","files_videoplayer\/js\/main","gallery\/l10n\/en","notifications\/l10n\/en","notifications\/js\/notifications","search\/l10n\/en","search\/js\/searchprovider","js\/files\/fileinfo","js\/files\/client","files\/l10n\/en","files\/js\/merged-index","files_sharing\/l10n\/en","files_sharing\/js\/dist\/files_sharing","files_sharing\/js\/dist\/collaboration","files_trashbin\/l10n\/en","files_trashbin\/js\/files_trashbin","activity\/l10n\/en","activity\/js\/activity-sidebar","comments\/l10n\/en","comments\/js\/comments","files_versions\/l10n\/en","files_versions\/js\/files_versions","federatedfilesharing\/l10n\/en","federatedfilesharing\/js\/external","files_rightclick\/l10n\/en","files_rightclick\/js\/script","files_rightclick\/js\/files","files_sharing\/js\/dist\/additionalScripts","gallery\/js\/scripts-for-file-app","recommendations\/l10n\/en","recommendations\/js\/main","js\/dist\/systemtags","systemtags\/l10n\/en","systemtags\/js\/systemtags","text\/l10n\/en","text\/js\/files","viewer\/l10n\/en","viewer\/js\/viewer","firstrunwizard\/l10n\/en","firstrunwizard\/js\/about"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/TemplateLayout.php","line":169,"function":"findJavascriptFiles","class":"OC\\TemplateLayout","type":"::","args":[["core\/js\/dist\/main","js\/merged-template-prepend","search\/js\/search","core\/l10n\/en","files_pdfviewer\/l10n\/en","files_pdfviewer\/js\/previewplugin","core\/js\/dist\/share_backend","files_videoplayer\/l10n\/en","files_videoplayer\/js\/main","gallery\/l10n\/en","notifications\/l10n\/en","notifications\/js\/notifications","search\/l10n\/en","search\/js\/searchprovider","js\/files\/fileinfo","js\/files\/client","files\/l10n\/en","files\/js\/merged-index","files_sharing\/l10n\/en","files_sharing\/js\/dist\/files_sharing","files_sharing\/js\/dist\/collaboration","files_trashbin\/l10n\/en","files_trashbin\/js\/files_trashbin","activity\/l10n\/en","activity\/js\/activity-sidebar","comments\/l10n\/en","comments\/js\/comments","files_versions\/l10n\/en","files_versions\/js\/files_versions","federatedfilesharing\/l10n\/en","federatedfilesharing\/js\/external","files_rightclick\/l10n\/en","files_rightclick\/js\/script","files_rightclick\/js\/files","files_sharing\/js\/dist\/additionalScripts","gallery\/js\/scripts-for-file-app","recommendations\/l10n\/en","recommendations\/js\/main","js\/dist\/systemtags","systemtags\/l10n\/en","systemtags\/js\/systemtags","text\/l10n\/en","text\/js\/files","viewer\/l10n\/en","viewer\/js\/viewer","firstrunwizard\/l10n\/en","firstrunwizard\/js\/about"]]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php","line":183,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["error",""]},{"file":"\/var\/www\/nextcloud\/lib\/private\/Template\/Base.php","line":131,"function":"fetchPage","class":"OC_Template","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/lib\/private\/legacy\/template.php","line":332,"function":"printPage","class":"OC\\Template\\Base","type":"->","args":[]},{"file":"\/var\/www\/nextcloud\/index.php","line":69,"function":"printExceptionErrorPage","class":"OC_Template","type":"::","args":[{"__class__":"OCP\\Files\\NotPermittedException"},500]}],"File":"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Folder.php","Line":185,"CustomMessage":"--"},"userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko\/20100101 Firefox\/93.0","version":"17.0.10.1"}

i can’t find a solution with that error log/stack trace above.

If I take the backups (db and data) and setup a new current version of NCP and import my backups – could this work? Last working version was NC 16.0.3.

I already gave you mine, I’'l recap them:

  • Upgrade to 64bits hardware. To which I’ll add:
    Do a fresh install, sync or copy your files to your new instance.

  • I mentioned using the curl installer, I’ll add that there is also nc-nextcloud allowing install of any version.

  • Also as you can see from NC’s release schedule 16 has been released 2019-04-25 and ‘End-of-life’ since 2020-06-04.

  • Using NCP’s auto update features will avoid running outdated versions. Important from security point of view.

1 Like