Nextcloud version (eg, 20.0.5): 27.1.5
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04.3
Apache or nginx version (eg, Apache 2.4.25): 2.4.52
PHP version (eg, 7.4): 8.1.2-1ubuntu2.14
Server configuration detail
Operating system: Linux 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64
Webserver: Apache (fpm-fcgi)
Database: pgsql PostgreSQL 14.10 (Ubuntu 14.10-0ubuntu0.22.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit
PHP version: 8.1.2-1ubuntu2.14
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, cgi-fcgi, PDO, xml, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, ldap, exif, pdo_pgsql, pgsql, Phar, posix, readline, redis, shmop, SimpleXML, smbclient, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, libsmbclient, Zend OPcache
Nextcloud version: 27.1.5 - 27.1.5.1
Where did you install Nextcloud from: Hansson NC vm deployment OVA file on VmWare Esxi 8
List of activated apps
Enabled:
- activity: 2.19.0
- admin_audit: 1.17.0
- bruteforcesettings: 2.7.0
- calendar: 4.6.0
- circles: 27.0.1
- cloud_federation_api: 1.10.0
- collectives: 2.9.2
- comments: 1.17.0
- contacts: 5.5.0
- contactsinteraction: 1.8.0
- dashboard: 7.7.0
- dav: 1.27.0
- deck: 1.11.2
- extract: 1.3.6
- federatedfilesharing: 1.17.0
- federation: 1.17.0
- files: 1.22.0
- files_pdfviewer: 2.8.0
- files_reminders: 1.0.0
- files_rightclick: 1.6.0
- files_sharing: 1.19.0
- files_trashbin: 1.17.0
- files_versions: 1.20.0
- firstrunwizard: 2.16.0
- logreader: 2.12.0
- lookup_server_connector: 1.15.0
- mail: 3.5.0
- nextcloud_announcements: 1.16.0
- notifications: 2.15.0
- oauth2: 1.15.1
- password_policy: 1.17.0
- photos: 2.3.0
- privacy: 1.11.0
- provisioning_api: 1.17.0
- recognize: 5.0.3
- recommendations: 1.6.0
- related_resources: 1.2.0
- serverinfo: 1.17.0
- settings: 1.9.0
- sharebymail: 1.17.0
- support: 1.10.0
- survey_client: 1.15.0
- suspicious_login: 5.0.0
- systemtags: 1.17.0
- text: 3.8.0
- theming: 2.2.0
- twofactor_backupcodes: 1.16.0
- twofactor_totp: 9.0.0
- updatenotification: 1.17.0
- user_status: 1.7.0
- viewer: 2.1.0
- weather_status: 1.7.0
- workflowengine: 2.9.0
Disabled:
- encryption
- files_external
- pdfannotate
- user_ldap
Cron Configuration: Array
(
[backgroundjobs_mode] => cron
[lastcron] => 1702886404
)
External storages: files_external is disabled
Encryption: no
User-backends:
- OC\User\Database
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Yes
Steps to replicate it:
- Command sudo bash /var/scripts/menu.sh with user ncadmin
The output of your Nextcloud log in Admin > Logging:
Empty
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
/path/to/nextcloud
{
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"192.168.254.11",
"share.web-network.fr",
"82.66.27.205"
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "27.1.5.1",
"overwrite.cli.url": "https:\/\/share.web-network.fr",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"upgrade.disable-web": true,
"log_type": "file",
"logfile": "\/var\/log\/nextcloud\/nextcloud.log",
"loglevel": "2",
"log.condition": {
"apps": [
"admin_audit"
]
},
"mail_smtpmode": "smtp",
"remember_login_cookie_lifetime": "1800",
"log_rotate_size": "10485760",
"trashbin_retention_obligation": "auto, 60",
"versions_retention_obligation": "auto, 180",
"activity_expire_days": "120",
"simpleSignUpLink.shown": false,
"memcache.local": "\\OC\\Memcache\\Redis",
"filelocking.enabled": true,
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0.5,
"dbindex": 0,
"password": "***REMOVED SENSITIVE VALUE***"
},
"default_phone_region": "us",
"logtimezone": "Etc\/UTC",
"htaccess.RewriteBase": "\/",
"preview_concurrency_new": "4",
"preview_concurrency_all": "8",
"enabledPreviewProviders": [
"OC\\Preview\\Imaginary",
"OC\\Preview\\Image",
"OC\\Preview\\MarkDown",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\OpenDocument",
"OC\\Preview\\Movie",
"OC\\Preview\\Krita"
],
"preview_imaginary_url": "http:\/\/127.0.0.1:9000",
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60",
"preview_max_memory": "256",
"maintenance": false,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
}
The output of your Apache/nginx/system log in /var/log/____
:
/var/log/apache2/error.log
[Mon Dec 18 07:49:18.001074 2023] [mpm_event:notice] [pid 1435:tid 140452614838144] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Dec 18 07:49:18.052195 2023] [ssl:warn] [pid 4131:tid 140241008093056] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 18 07:49:18.061892 2023] [ssl:warn] [pid 4132:tid 140241008093056] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 18 07:49:18.063586 2023] [mpm_event:notice] [pid 4132:tid 140241008093056] AH00489: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Mon Dec 18 07:49:18.063605 2023] [core:notice] [pid 4132:tid 140241008093056] AH00094: Command line: '/usr/sbin/apache2'
[Mon Dec 18 07:49:23.975602 2023] [mpm_event:notice] [pid 4132:tid 140241008093056] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Dec 18 07:49:24.026003 2023] [ssl:warn] [pid 4334:tid 140048058722176] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 18 07:49:24.035302 2023] [ssl:warn] [pid 4335:tid 140048058722176] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 18 07:49:24.037006 2023] [mpm_event:notice] [pid 4335:tid 140048058722176] AH00489: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Mon Dec 18 07:49:24.037023 2023] [core:notice] [pid 4335:tid 140048058722176] AH00094: Command line: '/usr/sbin/apache2'
[Mon Dec 18 07:50:44.118260 2023] [mpm_event:notice] [pid 4335:tid 140048058722176] AH00492: caught SIGWINCH, shutting down gracefully
[Mon Dec 18 07:51:55.068598 2023] [ssl:warn] [pid 1154:tid 139687409538944] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 18 07:51:55.410324 2023] [ssl:warn] [pid 1448:tid 139687409538944] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon Dec 18 07:51:55.412015 2023] [mpm_event:notice] [pid 1448:tid 139687409538944] AH00489: Apache/2.4.52 (Ubuntu) OpenSSL/3.0.2 configured -- resuming normal operations
[Mon Dec 18 07:51:55.412030 2023] [core:notice] [pid 1448:tid 139687409538944] AH00094: Command line: '/usr/sbin/apache2'
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
/var/log/nexcloud/nextcloud.log :
{"reqId":"piru5FcbehTBvE9hOqnw","level":3,"time":"2023-12-17T12:44:18+00:00","remoteAddr":"192.168.xxx.xxx","user":"xxxxx","app":"webdav","method":"GET","url":"/remote.php/dav/files/xxxxx/Photos/2023/01/20230102_104047.jpg","message":"Impossible d'ouvrir le fichier","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"27.1.5.1","exception":{"Exception":"Sabre\\DAV\\Exception\\ServiceUnavailable","Message":"Impossible d'ouvrir le fichier","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":85,"function":"get","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpGet","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":365,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":172,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/File.php","Line":498,"message":"Impossible d'ouvrir le fichier","exception":{},"CustomMessage":"Impossible d'ouvrir le fichier"}}
{"reqId":"wujZa6BtKgDk4DDEWqGy","level":2,"time":"2023-12-18T07:30:10+00:00","remoteAddr":"192.168.xxx.xxx","user":"xxxxx","app":"suspicious_login","method":"POST","url":"/login","message":"Could not predict suspiciousness: No models found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"27.1.5.1","data":{"app":"suspicious_login"}}
{"reqId":"JJoch1oysHTKPaVDXuyf","level":3,"time":"2023-12-18T07:41:31+00:00","remoteAddr":"192.168.xxx.xxx","user":"xxxxx","app":"PHP","method":"GET","url":"/core/preview?fileId=100291&x=1920&y=1080&a=true","message":"file_get_contents(/mnt/ncdata/appdata_oceo4duigoph/preview/2/c/e/9/a/0/3/100291/2048-2048-max.png): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#320","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"27.1.5.1","data":{"app":"PHP"}}
{"reqId":"JJoch1oysHTKPaVDXuyf","level":3,"time":"2023-12-18T07:41:31+00:00","remoteAddr":"192.168.xxx.xxx","user":"xxxxx","app":"index","method":"GET","url":"/core/preview?fileId=100291&x=1920&y=1080&a=true","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"27.1.5.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFile.php","line":74,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/lib/public/AppFramework/Http/FileDisplayResponse.php","line":67,"function":"getContent","class":"OC\\Files\\SimpleFS\\SimpleFile","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":240,"function":"callback","class":"OCP\\AppFramework\\Http\\FileDisplayResponse","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Node/File.php","Line":56,"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
{"reqId":"sZRgdPMn7ueVksSb09q1","level":3,"time":"2023-12-18T07:42:06+00:00","remoteAddr":"192.168.xxx.xxx","user":"xxxxx","app":"PHP","method":"PUT","url":"/apps/text/session/create","message":"file_get_contents(/mnt/ncdata/xxxxx/files/Mod\u00e8les/Readme.md): Failed to open stream: No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#320","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"27.1.5.1","data":{"app":"PHP"}}
{"reqId":"sZRgdPMn7ueVksSb09q1","level":3,"time":"2023-12-18T07:42:06+00:00","remoteAddr":"192.168.xxx.xxx","user":"xxxxx","app":"index","method":"PUT","url":"/apps/text/session/create","message":"Exception thrown: OCP\\Files\\GenericFileException","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"27.1.5.1","exception":{"Exception":"OCP\\Files\\GenericFileException","Message":"","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/text/lib/Service/ApiService.php","line":261,"function":"getContent","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/var/www/nextcloud/apps/text/lib/Service/ApiService.php","line":135,"function":"loadContent","class":"OCA\\Text\\Service\\ApiService","type":"->"},{"file":"/var/www/nextcloud/apps/text/lib/Controller/SessionController.php","line":61,"function":"create","class":"OCA\\Text\\Service\\ApiService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"create","class":"OCA\\Text\\Controller\\SessionController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Node/File.php","Line":56,"CustomMessage":"Exception thrown: OCP\\Files\\GenericFileException"}}
Good morning,
Current version: 27.1.5
I have an installation of the Hansson NC vm deployment OVA file.
I receive a notification to update NextCloud to version 28.0.0.
To update I need to run the command sudo bash /var/scripts/menu.sh.
When I run this command it does not update to version 28.0.0
There are no packages to update.
I use nfs sharing and a reverse proxy. Everything works fine except this update.
For what ?
THANKS.