Deleted Files App is missing and can't be found in App Store (Alpine Linux)

Nextcloud version (eg, 20.0.5): 26.0.1
Operating system and version (eg, Ubuntu 20.04): Alpine Linux 3.18
Apache or nginx version (eg, Apache 2.4.25): nginx 1.24.0
PHP version (eg, 7.4): 8.1.19

The issue you are facing: I can’t see the Trashbin at the bottom left corner on a fresh installation. The App “Deleted Files” is also missing and can’t be found on the App Store.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Login to nextcloud
  2. Delete a file
  3. Go to trashbin
  4. no button for the trashbin

The output of your Nextcloud log in Admin > Logging:

Fehler	PHP	Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0		2023-05-24T18:21:47+0200
Fehler	PHP	Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0		2023-05-24T18:21:47+0200
Fehler	PHP	Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0		2023-05-24T18:16:05+0200
Fehler	PHP	Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0		2023-05-24T18:16:05+0200
Fehler	PHP	Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0		2023-05-24T18:16:05+0200
Fehler	PHP	Zend OPcache can't be temporary enabled (it may be only disabled till the end of request) at Unknown#0		2023-05-24T18:16:05+0200
Fehler	PHP	file_put_contents(/usr/share/webapps/nextcloud/core/js/mimetypelist.js): Failed to open stream: Permission denied at /usr/share/webapps/nextcloud/core/Command/Maintenance/Mimetype/UpdateJS.php#55		2023-05-24T18:11:59+0200
Fehler	PHP	copy(/usr/share/webapps/nextcloud/core/img/filetypes/dgn.svg): Failed to open stream: Permission denied at /var/lib/nextcloud/apps/cadviewer/lib/Migration/RegisterMimeType.php#67		2023-05-24T18:11:59+0200
Fehler	PHP	copy(/usr/share/webapps/nextcloud/core/img/filetypes/dwf.svg): Failed to open stream: Permission denied at /var/lib/nextcloud/apps/cadviewer/lib/Migration/RegisterMimeType.php#67		2023-05-24T18:11:59+0200
Fehler	PHP	copy(/usr/share/webapps/nextcloud/core/img/filetypes/dxf.svg): Failed to open stream: Permission denied at /var/lib/nextcloud/apps/cadviewer/lib/Migration/RegisterMimeType.php#67		2023-05-24T18:11:59+0200
Fehler	PHP	copy(/usr/share/webapps/nextcloud/core/img/filetypes/dwg.svg): Failed to open stream: Permission denied at /var/lib/nextcloud/apps/cadviewer/lib/Migration/RegisterMimeType.php#67

The output of your config.php file in /usr/share/webapps/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'datadirectory' => '/var/lib/nextcloud/data',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'logtimezone' => 'Europe/Berlin',
  'share_folder' => '/geteilt',
  'skeletondirectory' => '',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/usr/share/webapps/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/lib/nextcloud/apps',
      'url' => '/apps-appstore',
      'writable' => true,
    ),
  ),
  'trusted_proxies' => 
  array (
    0 => '10.0.10.250',
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'postmaster',
  'mail_domain' => '#############',
  'mail_smtphost' => '#############',
  'mail_smtpport' => '465',
  'mail_sendmailmode' => 'smtp',
  'force_language' => 'de',
  'force_locale' => 'de_DE',
  'default_phone_region' => 'DE',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'preview_max_scale_factor' => 1,
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
  ),
  'overwriteprotocol' => 'https',
  'updatechecker' => false,
  'check_for_working_htaccess' => false,
  'installed' => true,
  'instanceid' => '#############20',
  'passwordsalt' => '#############KKj8',
  'secret' => '#############WyERHpj2TnqfG73',
  'trusted_domains' => 
  array (
    0 => '10.0.10.248',
    1 => '#############',
  ),
  'dbtype' => 'pgsql',
  'version' => '26.0.1.1',
  'overwrite.cli.url' => 'https://#############',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'looscloud',
  'dbpassword' => '#############',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0.0,
  ),
  'mail_smtpauth' => 1,
  'mail_smtpname' => '#############',
  'mail_smtppassword' => '#############',
);

The output of /var/log/nginx/error.log:

2023/05/24 15:46:47 [crit] 576#576: *1 connect() to unix:/run/nextcloud/fastcgi.sock failed (2: No such file or directory) while connecting to upstream, client: 10.0.10.250, server: #############', request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/nextcloud/fastcgi.sock:", host: "#############'"

The output of /var/log//nextcloud/php-fpm.log:

[24-May-2023 16:22:16] WARNING: [pool nextcloud] server reached max_children setting (10), consider raising it

Screenshot:

This doesn’t look like a new installation. You’ve done considerable customization, including moving some of your apps to non-default locations. So unfortunately those reproduction steps are not going to help us help you since this problem is not reproducible for anyone else. :slight_smile:

  • Based on your logs you provided you have at least one, possibly two PHP issues:
    • Your PHP FPM pool parameters appear too low for your usage (when that max is hit no more requests can get served and NC effectively stops / dies off). Check Google for PHP FPM tuning as it’s not NC specific.
    • NGINX can’t reach your PHP FPM pool (it may be because of the prior issue or maybe you have something weird in your NGINX configuration like a bogus PHP handler config - but I’d bet on it being related to the prior item)
  • Your file permissions for /use/share/webapps/nextcloud appear to be incorrect based on the permission denied errors. Since files_trashbin is a bundled app, that’s where it would be located. It’s probably not a coincidence you’re experiencing issues related to it at the same time, but anything is possible.

Have you recently made any changes to your server? Tried to move any files? Upgraded the OS? Etc. Or even not recently?

1 Like

Hi jtr, thank you for your quick response!

Sure I made my “normal” changes but didn’t touch the app location at all.
I just hit the “do not install recommended” apps during the first setup in the WebUI.

The file locations for apps are there from the package from the official Alpine repositories.
I just followed the guide there Nextcloud - Alpine Linux.

With fresh install was meant: I did a complete new Alpine 3.18 Linux LXC on my proxmox environment with the guide above to install nextcloud. With this guide everything is installed in the directory: /usr/share/webapps/nextcloud

Is it possible to install it now with a CLI command?

The errors are already fixed :slight_smile: No OPcache / PHP / NGINX error right now.

found the solution :slight_smile:

on alpine linux the default apps has to be installed with its packagemanager. There is also a package called nextcloud-files_trashbin.

So I fixed it now :slight_smile:

Jsut in case someone else is googling for alpine and nextcloud:

~ # apk search nextcloud
nextcloud-26.0.1-r1
nextcloud-activity-26.0.1-r1
nextcloud-admin_audit-26.0.1-r1
nextcloud-circles-26.0.1-r1
nextcloud-client-3.8.2-r0
nextcloud-client-dev-3.8.2-r0
nextcloud-client-dolphin-3.8.2-r0
nextcloud-comments-26.0.1-r1
nextcloud-dashboard-26.0.1-r1
nextcloud-default-apps-26.0.1-r1
nextcloud-doc-26.0.1-r1
nextcloud-encryption-26.0.1-r1
nextcloud-federation-26.0.1-r1
nextcloud-files_external-26.0.1-r1
nextcloud-files_pdfviewer-26.0.1-r1
nextcloud-files_rightclick-26.0.1-r1
nextcloud-files_sharing-26.0.1-r1
nextcloud-files_trashbin-26.0.1-r1
nextcloud-files_versions-26.0.1-r1
nextcloud-firstrunwizard-26.0.1-r1
nextcloud-initscript-26.0.1-r1
nextcloud-logreader-26.0.1-r1
nextcloud-mysql-26.0.1-r1
nextcloud-nextcloud_announcements-26.0.1-r1
nextcloud-notifications-26.0.1-r1
nextcloud-password_policy-26.0.1-r1
nextcloud-pgsql-26.0.1-r1
nextcloud-photos-26.0.1-r1
nextcloud-privacy-26.0.1-r1
nextcloud-recommendations-26.0.1-r1
nextcloud-serverinfo-26.0.1-r1
nextcloud-sharebymail-26.0.1-r1
nextcloud-sqlite-26.0.1-r1
nextcloud-support-26.0.1-r1
nextcloud-survey_client-26.0.1-r1
nextcloud-suspicious_login-26.0.1-r1
nextcloud-systemtags-26.0.1-r1
nextcloud-text-26.0.1-r1
nextcloud-user_ldap-26.0.1-r1
nextcloud-user_status-26.0.1-r1
nextcloud-weather_status-26.0.1-r1
prometheus-nextcloud-exporter-0.6.0-r2
prometheus-nextcloud-exporter-openrc-0.6.0-r2
1 Like