Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rmdir logs errors when upgrading an app #37144

Open
mmattel opened this issue Mar 20, 2020 · 0 comments
Open

rmdir logs errors when upgrading an app #37144

mmattel opened this issue Mar 20, 2020 · 0 comments
Labels

Comments

@mmattel
Copy link
Contributor

mmattel commented Mar 20, 2020

Steps to reproduce

  1. Upgrading an app from MarketPlace, in particular activity
  2. Upgrade runs fine, but errors are logged

Note: Nothing was logged when upgrading mediaviewer...

Expected behaviour

No errors should be logged

Actual behaviour

Error / Warning gets logged in owncloud log

Server configuration

Operating system: Ubuntu 18.04

Web server: nginx

Database: MariaDB 10.4

PHP version: 7.3

ownCloud version: 10.4

Updated from an older ownCloud or fresh install: updated

Where did you install ownCloud from: tar

Signing status (ownCloud 9.0 and above):

No errors have been found.

The content of config/config.php:

{
    "system": {
        "instanceid": "ocbdscdhwdo8",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "xxxx"
        ],
        "datadirectory": "xxxx\/data",
        "overwrite.cli.url": "https:\/\/xxxx",
        "dbtype": "mysql",
        "version": "10.4.0.4",
        "dbname": "xxxx",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "filelocking.enabled": "true",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "\/var\/run\/redis\/redis-server.sock",
            "port": 0,
            "timeout": 0,
            "dbindex": 0
        },
        "filesystem_check_changes": 1,
        "excluded_directories": [
            ".snapshot",
            "~snapshot"
        ],
        "upgrade.automatic-app-update": true,
        "quota_include_external_storage": false,
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "tls",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauthtype": "LOGIN",
        "apps_paths": [
            {
                "path": "xxxx\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "xxxx\/apps-external",
                "url": "\/apps-external",
                "writable": true
            }
        ],
        "maintenance": false,
        "loglevel": 2,
        "theme": "",
        "show_server_hostname": false,
        "log_rotate_size": "20971520"
    }
}

List of activated apps:

Enabled:
  - activity: 2.5.3
  - comments: 0.3.0
  - configreport: 0.2.0
  - dav: 0.5.0
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_clipboard: 1.0.2
  - files_external: 0.7.1
  - files_external_dropbox: 1.2.0
  - files_external_ftp: 0.2.1
  - files_mediaviewer: 1.0.2
  - files_pdfviewer: 0.11.1
  - files_sharing: 0.12.0
  - files_texteditor: 2.3.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.2.0
  - market: 0.5.0
  - notifications: 0.5.0
  - provisioning_api: 0.5.0
  - systemtags: 0.3.0
  - updatenotification: 0.2.1
Disabled:
  - encryption
  - external
  - user_external

Are you using external storage, if yes which one: local/smb/ftp/db/gd

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration

Browser: Opera

Operating system: W10x64

Logs

Web server error log

No related logs entries

ownCloud log (data/owncloud.log)

{"reqId":"wozYhy7HknHWdWY704Ko","level":3,"time":"2020-03-20T07:26:19+00:00","remoteAddr":"10.168.90.1","user":"xxxx","app":"PHP","method":"POST","url":"\/apps\/market\/apps\/activity\/update","message":"rmdir(xxxx\/apps-external\/activity): Directory not empty at xxxx\/lib\/private\/legacy\/helper.php#220"}

Same for folder: \/activity\/l10n, \/activity\/js, \/activity\/img, \/activity\/css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant