-
Notifications
You must be signed in to change notification settings - Fork 24
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Upgrade Nextcloud 19.0.x to 20.0.4
- Add missing indices, primary keys and columns
- set maintenance:mode repair
- you will remark that the app files_retention is still available as 1.8.5 in the nc store, but a newer version 1.9.0 can be downloaded manually from github.
- install the version 1.9.0 and re-enable the app by occ command (php occ app:enable files_retention
- check if admin webui is reporting no errors
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Server configuration
Operating system: ubuntu server 20.04.1
Web server: nginx 1.18
Database: PostgreSQL 13.1
**PHP version:**7.4.13
Nextcloud version: (see Nextcloud admin page) 20.0.4
**Updated from an older Nextcloud/ownCloud or fresh install:**19.0.5
**Where did you install Nextcloud from:**from updater app
Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
List of activated apps:
Enabled: - accessibility: 1.6.0 - activity: 2.13.4 - admin_audit: 1.10.0 - bruteforcesettings: 2.0.1 - calendar: 2.1.2 - cloud_federation_api: 1.3.0 - comments: 1.10.0 - contacts: 3.4.2 - contactsinteraction: 1.1.0 - dashboard: 7.0.0 - dav: 1.16.2 - federatedfilesharing: 1.10.2 - federation: 1.10.1 - files: 1.15.0 - files_accesscontrol: 1.10.1 - files_automatedtagging: 1.10.1 - files_downloadactivity: 1.9.0 - files_external: 1.11.1 - files_pdfviewer: 2.0.1 - files_retention: 1.9.0 - files_rightclick: 0.17.0 - files_sharing: 1.12.1 - files_trashbin: 1.10.1 - files_versions: 1.13.0 - files_videoplayer: 1.9.0 - groupfolders: 8.2.0 - logreader: 2.5.0 - lookup_server_connector: 1.8.0 - nextcloud_announcements: 1.9.0 - notes: 4.0.1 - notifications: 2.8.0 - oauth2: 1.8.0 - onlyoffice: 6.2.0 - password_policy: 1.10.1 - photos: 1.2.1 - privacy: 1.4.0 - provisioning_api: 1.10.0 - rainloop: 7.0.3 - recommendations: 0.8.0 - serverinfo: 1.10.0 - settings: 1.2.0 - sharebymail: 1.10.0 - spreed: 10.0.4 - support: 1.3.0 - systemtags: 1.10.0 - tasks: 0.13.6 - text: 3.1.0 - theming: 1.11.0 - twofactor_backupcodes: 1.9.0 - twofactor_totp: 5.0.0 - updatenotification: 1.10.0 - user_ldap: 1.10.2 - user_status: 1.0.1 - viewer: 1.4.0 - weather_status: 1.0.0 - workflowengine: 2.2.0 Disabled: - encryption - firstrunwizard - survey_client
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
Yes i use samba and nfs shares that are mounted locally by ubuntu server to local mountpoints
accessible through www-data
Are you using encryption: yes/no -> NO
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... LDAP
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration
Browser: Firefox ESR 78.6.0
**Operating system:**Zorin OS 15.3
Logs
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
{"reqId":"a2qZup4Mm4AKz68UEN2a","level":3,"time":"2020-12-25T16:15:01+01:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":{"Exception":"Error","Message":"Call to a member function getUID() on null","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/files_retention/lib/BackgroundJob/RetentionJob.php","line":151,"function":"notifyNode","class":"OCA\\Files_Retention\\BackgroundJob\\RetentionJob","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/Job.php","line":52,"function":"run","class":"OCA\\Files_Retention\\BackgroundJob\\RetentionJob","type":"->"},{"file":"/var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":127,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}],"File":"/var/www/nextcloud/apps/files_retention/lib/BackgroundJob/RetentionJob.php","Line":236,"CustomMessage":"Error while running background job (class: OCA\\Files_Retention\\BackgroundJob\\RetentionJob, arguments: Array\n(\n [tag] => 32\n)\n)"},"userAgent":"--","version":"20.0.4.0","id":"5fe7139cbcf37"}
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
The files that has to be deleted are all tagged by systemtag "to-be-deleted-next-cron"
In earlier versions each day the files that has been tagged like this had been deleted reliable through the system.
Since use of the nescessary version 1.9.0 (1.8.5 was incompatible to nextcloud 20.x) the errors above are comming each cronjob into the logs.
The files still are tagged as mentioned but the system doesn't delete the files / folders!