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

Sync Synology and Nextcloud #6100

Closed
Tealk opened this issue Aug 14, 2017 · 3 comments
Closed

Sync Synology and Nextcloud #6100

Tealk opened this issue Aug 14, 2017 · 3 comments

Comments

@Tealk
Copy link

Tealk commented Aug 14, 2017

Steps to reproduce

Sync with synology CloudSync with WebDAV

Actual behaviour

{"reqId":"O93bte8O2hjfsbLGqKKf","level":4,"time":"14.08.17 14:54:54","remoteAddr":"62.227.202.116","user":"Tealk","app":"webdav","method":"GET","url":"\/remote.php\/webdav\/Privat\/adeptus_mechanicus_cogitator_interface_animation_by_borninmoradel-d4wj95d.swf","message":"Exception: {\"Exception\":\"OCP\\\\Encryption\\\\Exceptions\\\\GenericEncryptionException\",\"Message\":\"Bad Signature\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php(463): OCA\\\\Encryption\\\\Crypto\\\\Crypt->checkSignature('PrxDemozEOhfJei...', '\\\\xB7\\\\x15\\\\xB8\\\\\\\\\\\\xB3\\\\t\\\\xB8Ej\\\\x83p\\\\x88\\\\\\\\0\\\\xAB...', 'b86f66841ed6eae...')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Encryption.php(378): OCA\\\\Encryption\\\\Crypto\\\\Crypt->symmetricDecryptFileContent('PrxDemozEOhfJei...', '\\\\xB7\\\\x15\\\\xB8\\\\\\\\\\\\xB3\\\\t\\\\xB8Ej\\\\x83p\\\\x88\\\\\\\\0\\\\xAB...', 'AES-256-CTR', 0, 0)\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(460): OCA\\\\Encryption\\\\Crypto\\\\Encryption->decrypt(*** sensitive parameters replaced ***)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/Files\\\/Stream\\\/Encryption.php(291): OC\\\\Files\\\\Stream\\\\Encryption->readCache()\\n#4 [internal function]: OC\\\\Files\\\\Stream\\\\Encryption->stream_read(8192)\\n#5 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/Wrapper.php(83): fread(Resource id #34, 8192)\\n#6 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/icewind\\\/streams\\\/src\\\/CallbackWrapper.php(91): Icewind\\\\Streams\\\\Wrapper->stream_read(8192)\\n#7 [internal function]: Icewind\\\\Streams\\\\CallbackWrapper->stream_read(8192)\\n#8 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/http\\\/lib\\\/Sapi.php(78): stream_copy_to_stream(Resource id #37, Resource id #39, '80772')\\n#9 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(498): Sabre\\\\HTTP\\\\Sapi::sendResponse(Object(Sabre\\\\HTTP\\\\Response))\\n#10 \\\/var\\\/www\\\/nextcloud\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#11 \\\/var\\\/www\\\/nextcloud\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(71): Sabre\\\\DAV\\\\Server->exec()\\n#12 \\\/var\\\/www\\\/nextcloud\\\/remote.php(162): require_once('\\\/var\\\/www\\\/nextcl...')\\n#13 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/apps\\\/encryption\\\/lib\\\/Crypto\\\/Crypt.php\",\"Line\":483}","userAgent":"--","version":"12.0.1.5"}

General server configuration

Operating system: Linux Anzah-Cloud 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64

Web server: Apache/2.4.10 (Debian) (apache2handler)

Database: mysql 5.7.19

PHP version: 7.1.8-2+020170804100723.7+jessie1.gbpae7f04

PHP-modules loaded
 - Core
 - date
 - libxml
 - openssl
 - pcre
 - zlib
 - filter
 - hash
 - Reflection
 - SPL
 - session
 - standard
 - apache2handler
 - mysqlnd
 - PDO
 - xml
 - apcu
 - apc
 - calendar
 - ctype
 - curl
 - dom
 - mbstring
 - fileinfo
 - ftp
 - gd
 - geoip
 - gettext
 - iconv
 - igbinary
 - intl
 - json
 - exif
 - mcrypt
 - msgpack
 - mysqli
 - pdo_mysql
 - Phar
 - posix
 - readline
 - shmop
 - SimpleXML
 - sockets
 - sysvmsg
 - sysvsem
 - sysvshm
 - tokenizer
 - wddx
 - xmlreader
 - xmlwriter
 - xsl
 - zip
 - memcached
 - Zend OPcache

Nextcloud configuration

Nextcloud version: 12.0.0 - 12.0.0.29

Updated from an older Nextcloud/ownCloud or fresh install: YOUR ANSWER HERE

Where did you install Nextcloud from: YOUR ANSWER HERE

Are you using external storage, if yes which one: files_external is disabled

Are you using encryption: yes

Are you using an external user-backend, if yes which one: YOUR ANSWER HERE (LDAP/ActiveDirectory/Webdav/...)

Signing status
[]
Enabled apps
 - activity: 2.5.2
 - admin_audit: 1.2.0
 - admin_notifications: 1.0.0
 - apporder: 0.4.0
 - bookmarks: 0.10.1
 - bruteforcesettings: 1.0.2
 - calendar: 1.5.3
 - comments: 1.2.0
 - contacts: 1.5.3
 - dav: 1.3.0
 - encryption: 1.6.0
 - federatedfilesharing: 1.2.0
 - federation: 1.2.0
 - files: 1.7.2
 - files_downloadactivity: 1.1.1
 - files_pdfviewer: 1.1.1
 - files_reader: 1.0.4
 - files_sharing: 1.4.0
 - files_texteditor: 2.4.1
 - files_trashbin: 1.2.0
 - files_versions: 1.5.0
 - files_videoplayer: 1.1.0
 - firstrunwizard: 2.1
 - groupfolders: 1.1.0
 - issuetemplate: 0.2.2
 - logreader: 2.0.0
 - lookup_server_connector: 1.0.0
 - mail: 0.6.4
 - news: 11.0.5
 - nextcloud_announcements: 1.1
 - notifications: 2.0.0
 - oauth2: 1.0.5
 - password_policy: 1.2.2
 - provisioning_api: 1.2.0
 - quota_warning: 1.0.1
 - serverinfo: 1.2.0
 - sharebymail: 1.2.0
 - socialsharing_email: 1.0.1
 - survey_client: 1.0.0
 - systemtags: 1.2.0
 - tasks: 0.9.5
 - theming: 1.3.0
 - twofactor_backupcodes: 1.1.1
 - twofactor_totp: 1.3.0
 - twofactor_u2f: 1.3.2
 - updatenotification: 1.2.0
 - workflowengine: 1.2.0
Disabled apps
 - deck
 - files_external
 - gallery
 - keeweb
 - user_external
 - user_ldap
Content of config/config.php
{
    "instanceid": "ocz6kekhpjaq",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "anzah.cloud"
    ],
    "datadirectory": "\/home\/anzahcloud",
    "overwrite.cli.url": "https:\/\/anzah.cloud",
    "dbtype": "mysql",
    "version": "12.0.0.29",
    "dbname": "anzahcloud",
    "dbhost": "localhost",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "Europe\/Berlin",
    "installed": true,
    "forcessl": true,
    "asset-pipeline.enabled": true,
    "theme": "",
    "log_type": "owncloud",
    "logfile": "\/home\/anzahcloud\/nextcloud.log",
    "loglevel": 2,
    "syslog_tag": "ownCloud",
    "logdateformat": "d.m.y H:i:s",
    "log_query": false,
    "cron_log": true,
    "log_rotate_size": 104857600,
    "versions_retention_obligation": "auto, 120",
    "trashbin_retention_obligation": "auto, 60",
    "mail_from_address": "noreply",
    "mail_smtpmode": "smtp",
    "mail_domain": "anzahcraft.de",
    "maintenance": false,
    "updatechecker": false,
    "appstore.experimental.enabled": true,
    "enable_previews": true,
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "preview_max_filesize_image": 50,
    "preview_max_scale_factor": 10,
    "preview_libreoffice_path": "\/usr\/bin\/libreoffice",
    "preview_office_cl_parameters": " --headless --nologo --nofirststartwizard --invisible --norestore -convert-to pdf -outdir ",
    "enabledPreviewProviders": [
        "OC\\Preview\\PNG",
        "OC\\Preview\\JPEG",
        "OC\\Preview\\GIF",
        "OC\\Preview\\BMP",
        "OC\\Preview\\MP3",
        "OC\\Preview\\TXT",
        "OC\\Preview\\MarkDown",
        "OC\\Preview\\OpenDocument",
        "OC\\Preview\\PDF"
    ],
    "memcache.local": "\\OC\\Memcache\\APCu",
    "blacklisted_files": [
        ".htaccess"
    ],
    "minimum.supported.desktop.version": "2.2.2",
    "assetdirectory": "\/var\/www\/nextcloud",
    "activity_expire_days": 365,
    "htaccess.RewriteBase": "\/",
    "mail_smtpauth": 1,
    "mail_smtphost": "s95.goserver.host",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "singleuser": false,
    "mysql.utf8mb4": true
}

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.91 Safari/537.36 Vivaldi/1.92.917.39

Operating system: YOUR ANSWER HERE

Logs

Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@LukasReschke
Copy link
Member

Can you retry this with 12.0.1?

@Tealk
Copy link
Author

Tealk commented Aug 16, 2017

Have Update to 12.0.2 and it looks like fixed now, thank you.

@Dennis1993
Copy link
Contributor

Thanks for your feedback!

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

No branches or pull requests

3 participants