Closed Ducknuke closed 3 months ago
Looks related to Teams (formerly Circles) shared files. Moving to that repository since it doesn't appear to be a general matter.
Although looking closer, we might have a dependency matter here since we're in the middle of a transition (#43855). And the newer Teams stuff is coupled with Circles app, but we're still permitting the Circles app to be disabled (which you appear to have done).
Thank you @joshtrichards. The problem is that even if I activate the Teams application I still have the problem but now I no longer have any errors in the log, just the error message when I want to edit :/
There should no longer be any dependency problems?
We would need some data before the reload (after you click the edit button) I will need your browser console log to investigate this issue. Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.
SInce it's reloading, you can also enable the preserve log
option to ensure you catch whatever error is thrown.
I am affected by this bug, too. Here is my console log:
@h4fnp you look like you haven't enabled the appropriate mimes in your config.php That seems a bit different from @Ducknuke
I notice that I also have this mime warning with a lot of warnings in the middle :
I executed this command occ maintenance:mimetype:update-db --repair-filecache
thinking that my mimes were not up to date and apparently he made quite a few Add but still the same problem.
Added mimetype "application/msaccess" to database Added mimetype "application/illustrator" to database Added mimetype "text/x-shellscript" to database Added mimetype "application/x-blender" to database Added mimetype "image/bpg" to database Added mimetype "application/x-bzip2" to database Added mimetype "text/x-c" to database Added mimetype "text/x-c++src" to database Added mimetype "application/comicbook+7z" to database Added mimetype "application/comicbook+ace" to database Added mimetype "application/comicbook+tar" to database Added mimetype "application/comicbook+truecrypt" to database Added mimetype "application/coreldraw" to database Added mimetype "application/java" to database Added mimetype "application/x-cbr" to database Added mimetype "application/x-deb" to database Added mimetype "application/vnd.ms-word.document.macroEnabled.12" to database Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.template" to database Added mimetype "video/dv" to database Added mimetype "application/vnd.ms-fontobject" to database Added mimetype "application/postscript" to database Added mimetype "application/x-fictionbook+xml" to database Added mimetype "video/x-flv" to database Added mimetype "text/x-h" to database Added mimetype "text/calendar" to database Updated 4 filecache rows for mimetype "image/x-icon" Added mimetype "text/impress" to database Added mimetype "text/x-java-source" to database Added mimetype "image/jp2" to database Added mimetype "application/x-kdbx" to database Added mimetype "application/x-iwork-keynote-sffkey" to database Added mimetype "application/km" to database Added mimetype "application/vnd.google-earth.kml+xml" to database Added mimetype "application/vnd.google-earth.kmz" to database Added mimetype "application/x-krita" to database Added mimetype "text/x-ldif" to database Added mimetype "application/vnd.lotus-wordpro" to database Added mimetype "video/mp2t" to database Added mimetype "audio/m4b" to database Added mimetype "application/x-freemind" to database Added mimetype "application/x-mobipocket-ebook" to database Added mimetype "application/x-iwork-numbers-sffnumbers" to database Added mimetype "application/vnd.oasis.opendocument.formula" to database Added mimetype "application/msonenote" to database Added mimetype "text/org" to database Added mimetype "application/x-iwork-pages-sffpages" to database Updated 1 filecache rows for mimetype "application/pdf" Added mimetype "application/x-font" to database Added mimetype "application/x-php" to database Added mimetype "application/x-perl" to database Added mimetype "audio/x-scpls" to database Added mimetype "application/vnd.ms-powerpoint" to database Added mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12" to database Added mimetype "application/vnd.openxmlformats-officedocument.presentationml.template" to database Added mimetype "application/vnd.ms-powerpoint.addin.macroEnabled.12" to database Added mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" to database Added mimetype "application/vnd.openxmlformats-officedocument.presentationml.slideshow" to database Added mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12" to database Added mimetype "text/reveal" to database Added mimetype "application/rss+xml" to database Added mimetype "application/sgf" to database Added mimetype "image/sgi" to database Added mimetype "application/x-shockwave-flash" to database Added mimetype "application/x-compressed" to database Added mimetype "application/x-tar" to database Added mimetype "application/vnd.garmin.tcx+xml" to database Added mimetype "application/x-tex" to database Added mimetype "image/tga" to database Added mimetype "text/vcard" to database Added mimetype "video/dvd" to database Added mimetype "application/vnd.visio" to database Added mimetype "application/vnd.ms-visio.drawing.macroEnabled.12" to database Added mimetype "application/vnd.ms-visio.drawing" to database Added mimetype "application/vnd.ms-visio.stencil.macroEnabled.12" to database Added mimetype "application/vnd.ms-visio.stencil" to database Added mimetype "application/vnd.ms-visio.template.macroEnabled.12" to database Added mimetype "application/vnd.ms-visio.template" to database Added mimetype "audio/webm" to database Added mimetype "application/font-woff" to database Added mimetype "application/vnd.wordperfect" to database Added mimetype "application/x-gimp" to database Added mimetype "application/vnd.ms-excel.addin.macroEnabled.12" to database Added mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12" to database Added mimetype "application/vnd.ms-excel.sheet.macroEnabled.12" to database Added mimetype "application/vnd.ms-excel.template.macroEnabled.12" to database Added mimetype "application/vnd.openxmlformats-officedocument.spreadsheetml.template" to database Added mimetype "application/vnd.xmind.workbook" to database Added mimetype "application/yaml" to database Added 86 new mimetypes Updated 5 filecache rows
It would be nice, if this was only a misconfiguration on my site. Here is my (redacted) config.php:
<?php
$CONFIG = array (
'instanceid' => '**SNIP**',
'passwordsalt' => '**SNIP**',
'secret' => '**SNIP**'
'trusted_domains' =>
array (
0 => 'cloud.**SNIP**.com',
),
'datadirectory' => '/www/htdocs/**SNIP**/data/cloud.**SNIP**.com',
'dbtype' => 'mysql',
'version' => '29.0.1.1',
'overwrite.cli.url' => 'https://cloud.**SNIP**.com',
'dbname' => '**SNIP**',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '**SNIP**',
'dbpassword' => '**SNIP**',
'installed' => true,
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'cloud',
'mail_domain' => '**SNIP**.com',
'htaccess.RewriteBase' => '/',
'tempdirectory' => '/www/htdocs/**SNIP**/tmp/cloud.**SNIP**.com',
'simpleSignUpLink.shown' => false,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'filelocking.enabled' => false,
'maintenance_window_start' => 2,
'default_phone_region' => 'DE',
);
Can you @skjnldsv please point me to some documentation how to "enabled the appropriate mimes"?
I executed this command
occ maintenance:mimetype:update-db --repair-filecache
thinking that my mimes were not up to date and apparently he made quite a few Add but still the same problem.
Same over here:
$ php83 occ maintenance:mimetype:update-db --repair-filecache
Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf" to database
Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform" to database
Added 2 new mimetypes
Updated 0 filecache rows
I don't know if it's related to the problem but I see these "Teams" errors appear when I open the sidebar and the Chrome console is launched. I specify that the sidebar works even with these errors
Have the same issue like you reported. Can not figure out to fix it.
Same issue here after update.
Same issue here after update.
For the record: Upgrade from 29.0.1 to 29.0.2 did not solve the issue for me.
For the record: Upgrade from 29.0.1 to 29.0.2 did not solve the issue for me.
Yeah, it's not working for me either after the update.
@joshtrichards: Ain't this a duplicate of nextcloud/viewer/issues/2323 ?
does anyone have a workaround for this?
Duplicate of https://github.com/nextcloud/viewer/issues/2323
⚠️ This issue respects the following points: ⚠️
Bug description
I click on files and select an image, then click on edit, i.e. on the pen. Then it reloads and then the message appears. “Il n'y a pas d'extension disponible pour afficher ce type de fichier.”
when I get this error I have a lot of errors messages in the log :
I have to reload the browser so that I can select any files again and then everything works again except for editing an image
Steps to reproduce
Expected behavior
Installation method
Community Docker image
Nextcloud Server version
29
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.3
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response