e-alfred / flowupload

Flowupload app compatible with Nextcloud
GNU Affero General Public License v3.0
61 stars 20 forks source link

Upload has stopped and unable to resume when the network was disconnected #160

Open ibnuharisfawaid opened 4 years ago

ibnuharisfawaid commented 4 years ago
### Steps to reproduce 1. Uploading file with FlowUpload 2. The network has disconnected ### Expected behaviour Upload progress able to resume when the network was disconnected ### Actual behaviour Upload progress unable to resume (timeout) ### Server configuration **Operating system**: Centos 7 **Web server:** httpd **Database:** mysql **PHP version:** 7.2.24 **Nextcloud version:** 17.0.6 **Updated from an older Nextcloud/ownCloud or fresh install:** 17.0.3 **Where did you install Nextcloud from:** Onpremise **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. Technical information ===================== The following list covers which files have failed the integrity check. Please read the previous linked documentation to learn more about the errors and how to fix them. Results ======= - core - FILE_MISSING **(it was moved)** - core/skeleton/Documents/About.odt - core/skeleton/Documents/About.txt - core/skeleton/Documents/Nextcloud Flyer.pdf - core/skeleton/Nextcloud Manual.pdf - core/skeleton/Nextcloud intro.mp4 - core/skeleton/Nextcloud.png - core/skeleton/Photos/Coast.jpg - core/skeleton/Photos/Hummingbird.jpg - core/skeleton/Photos/Nextcloud Community.jpg - core/skeleton/Photos/Nut.jpg Raw output ========== Array ( [core] => Array ( [FILE_MISSING] => Array ( [core/skeleton/Documents/About.odt] => Array ( [expected] => 1cc2eae96696437edac41a8f9bc04a2ce2e8aac132cee19239222ef0f0ed0722a8279d6dae2073c230f9f2015f03559827a4bdd11ac068d2ee31f8bef9ec8b95 [current] => ) [core/skeleton/Documents/About.txt] => Array ( [expected] => 246d73856029aac8fb5cfda0644c473bcc519017b8284e0b850b67025562170cf4c1afa39f037cff3c9a331f85ab29266353de184c039907a54a680a54c15040 [current] => ) [core/skeleton/Documents/Nextcloud Flyer.pdf] => Array ( [expected] => 5d290127483c2806b1dfd35b44a67b8481f52568f7005c3a41c6734e78ea7040bb96e8e749d470f371a655e748942ce027d3193020bee4517dc0600f147fd798 [current] => ) [core/skeleton/Nextcloud Manual.pdf] => Array ( [expected] => be9b38303784daed0c1d23ac13c4e8265e5034169e76ba03eed98cc655e8334951c9627b0341eecfb7c80ad7ca9a629e52660459bf63adb62ca97bc18a98e1bf [current] => ) [core/skeleton/Nextcloud intro.mp4] => Array ( [expected] => 20629a6a9e8750beac07541c77e8e694fb527cc653f2d6626d73c7381070726af4062169010947229e1b904e56308928e4897e31a7809bddd70dd2027ef5471a [current] => ) [core/skeleton/Nextcloud.png] => Array ( [expected] => d2e57f96215bda00e76679310745108d7d3911102a03e45f392a0eedb857f00167c824c06d7bce1069048cdbc3756a84466313ba317f311dbefa8ce5b1d6cb0c [current] => ) [core/skeleton/Photos/Coast.jpg] => Array ( [expected] => 2bb4fd0ca9fbcb71b3565f1c019233aac9d22d19e25a6c1afe1ba37dbe33a2d282ead22aafd6e5a012bb206c9606f1056d9f83955034a11d2c531d435f097933 [current] => ) [core/skeleton/Photos/Hummingbird.jpg] => Array ( [expected] => 4c5c440aabadb7bc084502513f34691754ad0cd5b7dc60af5294c5076e17e102d209b2fec4d1a1f38b940887c6f8eb16efa9240944116d17e6c4a36689987d84 [current] => ) [core/skeleton/Photos/Nextcloud Community.jpg] => Array ( [expected] => 6ce4c89f1798c4c0233aa0701e7fbbaea5606c81e6060076dca3987c025552102a2381802e66a572ab98874dd876ee67758d8c7d5d53c496948ccaec9811031d [current] => ) [core/skeleton/Photos/Nut.jpg] => Array ( [expected] => 0a82a718fc89d438c5887bac2b4fe7f32ec39a3cf9aab38e7f544ed8493d328d2247fa4efa85d4caa650550c34f305ba7eb12973d2487e10507cb2ab0f38c122 [current] => ) ) ) ) ```
**List of activated apps:**
App list Enabled: - accessibility: 1.3.0 - activity: 2.10.1 - admin_audit: 1.7.0 - cloud_federation_api: 1.0.0 - comments: 1.7.0 - dav: 1.13.0 - epubreader: 1.4.2 - federatedfilesharing: 1.7.0 - federation: 1.7.0 - files: 1.12.0 - files_accesscontrol: 1.7.0 - files_automatedtagging: 1.7.0 - files_downloadactivity: 1.6.0 - files_external: 1.8.0 - files_pdfviewer: 1.6.0 - files_rightclick: 0.15.1 - files_sharing: 1.9.0 - files_trackdownloads: 1.6.0 - files_trashbin: 1.7.0 - files_versions: 1.10.0 - files_videoplayer: 1.6.0 - firstrunwizard: 2.6.0 - flowupload: 1.0.0 - gallery: 18.4.0 - groupfolders: 5.0.7 - groupquota: 0.1.2 - logreader: 2.2.0 - lookup_server_connector: 1.5.0 - nextcloud_announcements: 1.6.0 - notifications: 2.5.0 - oauth2: 1.5.0 - onlyoffice: 4.3.0 - password_policy: 1.7.0 - privacy: 1.1.0 - provisioning_api: 1.7.0 - recommendations: 0.5.0 - richdocuments: 3.7.3 - serverinfo: 1.7.0 - sharebymail: 1.7.0 - support: 1.0.1 - survey_client: 1.5.0 - systemtags: 1.7.0 - text: 1.1.1 - theming: 1.8.0 - twofactor_backupcodes: 1.6.0 - updatenotification: 1.7.0 - user_ldap: 1.7.0 - user_usage_report: 1.1.5 - viewer: 1.2.0 - workflow_pdf_converter: 1.2.1 - workflow_script: 1.2.0 - workflowengine: 1.7.0 Disabled: - encryption ``` 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 ```
**Nextcloud configuration:**
Config report ``` 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 { "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "192.168.20.131", "drive.collavision.net" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "17.0.6.2", "overwrite.cli.url": "http:\/\/192.168.20.131", "memcache.local": "\\OC\\Memcache\\APCu", "memcache.distributed": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379, "timeout": 1.5, "password": "***REMOVED SENSITIVE VALUE***" }, "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "mail_template_class": "\/var\/www\/html\/nextcloud\/apps\/mail_template\/template.php", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "ldapIgnoreNamingRules": false, "ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory", "maintenance": false, "theme": "", "log_type": "file", "logfile": "\/mnt\/nfsdata\/log\/nextcloud.log", "loglevel": "0", "logdateformat": "F d, Y H:i:s", "updater.release.channel": "stable", "preview_libreoffice_path": "\/usr\/bin\/libreoffice", "activity_use_cached_mountpoints": "true" } } 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:** smb.. **Are you using encryption:** no **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... #### LDAP configuration (delete this part if not used)
LDAP config ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your Nextcloud installation folder +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Configuration | s01 | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | hasMemberOfFilterSupport | 1 | | homeFolderNamingRule | | | lastJpegPhotoLookup | 0 | | ldapAgentName | CN=Administrator,CN=Users,DC=collavision,DC=net | | ldapAgentPassword | *** | | ldapAttributesForGroupSearch | | | ldapAttributesForUserSearch | | | ldapBackupHost | | | ldapBackupPort | | | ldapBase | DC=collavision,DC=net | | ldapBaseGroups | DC=collavision,DC=net | | ldapBaseUsers | DC=collavision,DC=net | | ldapCacheTTL | 600 | | ldapConfigurationActive | 1 | | ldapDefaultPPolicyDN | | | ldapDynamicGroupMemberURL | | | ldapEmailAttribute | mail | | ldapExperiencedAdmin | 0 | | ldapExpertUUIDGroupAttr | | | ldapExpertUUIDUserAttr | | | ldapExpertUsernameAttr | | | ldapExtStorageHomeAttribute | | | ldapGidNumber | gidNumber | | ldapGroupDisplayName | cn | | ldapGroupFilter | (|(cn=Wickr)(cn=Nextcloud)) | | ldapGroupFilterGroups | Wickr;Nextcloud | | ldapGroupFilterMode | 0 | | ldapGroupFilterObjectclass | | | ldapGroupMemberAssocAttr | member | | ldapHost | ldaps://adfs.collavision.net | | ldapIgnoreNamingRules | | | ldapLoginFilter | (&(&(|(objectclass=person))(|(|(memberof=CN=Wickr,CN=Users,DC=collavision,DC=net)(primaryGroupID=1106))(|(memberof=CN=Nextcloud,CN=Users,DC=collavision,DC=net)(primaryGroupID=1111))))(samaccountname=%uid)) | | ldapLoginFilterAttributes | | | ldapLoginFilterEmail | 0 | | ldapLoginFilterMode | 0 | | ldapLoginFilterUsername | 1 | | ldapNestedGroups | 0 | | ldapOverrideMainServer | | | ldapPagingSize | 500 | | ldapPort | 636 | | ldapQuotaAttribute | | | ldapQuotaDefault | | | ldapTLS | | | ldapUserAvatarRule | default | | ldapUserDisplayName | displayname | | ldapUserDisplayName2 | | | ldapUserFilter | (&(|(objectclass=person))(|(|(memberof=CN=Wickr,CN=Users,DC=collavision,DC=net)(primaryGroupID=1106))(|(memberof=CN=Nextcloud,CN=Users,DC=collavision,DC=net)(primaryGroupID=1111)))) | | ldapUserFilterGroups | Wickr;Nextcloud | | ldapUserFilterMode | 0 | | ldapUserFilterObjectclass | person | | ldapUuidGroupAttribute | auto | | ldapUuidUserAttribute | auto | | turnOffCertCheck | 1 | | turnOnPasswordChange | 0 | | useMemberOfToDetectMembership | 1 | +-------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 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'; MariaDB [nextcloud]> select * from oc_appconfig where 'appid' = 'user_ldap'; Empty set (0.001 sec) MariaDB [nextcloud]> Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ```
### Client configuration **Browser:** Chrome **Operating system:** Windows 10 ### Logs #### Web server error log
Web server error log ``` Insert your webserver log here ```
#### Nextcloud log (data/nextcloud.log)
Nextcloud log ``` 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) ... ```
JonathanTreffler commented 4 years ago

Sorry for the slow response.

Can you please provide a screenshot ? Can you please provide a Browser log ?

I personally never had this problem.

Has this happened multiple times ?

FaziXX commented 3 years ago

Same problem here, need help please

JonathanTreffler commented 3 years ago

Nextcloud version: 17.0.6

That version is extremely old. Neither we nor the Nextcloud devs support it anymore. Please update to version 20, 21 or 22 (see #305 , because we will update this app soon, wich might fix your problem) Also note, that external storages are currently not supported.

JonathanTreffler commented 3 years ago

Same problem here, need help please

Wich Nextcloud version do you use ?

FaziXX commented 3 years ago

Same problem here, need help please

Wich Nextcloud version do you use ?

I use version 20.0.11