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

Nextcloud Androi app don't work #2292

Closed
danut2006 opened this issue Mar 5, 2018 · 13 comments
Closed

Nextcloud Androi app don't work #2292

danut2006 opened this issue Mar 5, 2018 · 13 comments

Comments

@danut2006
Copy link

Actual behaviour

-The Nextcloud android app don't work after update from android 7 to android 8 (the phone is huawei P10 VTR-L29.
Before upgrade the app work very wheel, the auto-upload work great. Now she don't upload the file (photos,video) even i restart the phone the app don't see the new photos to upload on nextcloud server.

Expected behaviour

-Would be awesome if the app it wheel be work like before the upgrade.

Steps to reproduce

Environment data

Android version:8.0.0

Device model: Huawei P10 VTR-L29

Stock or customized system:Stock system

Nextcloud app version:3.0.3

Nextcloud server version:13.0.0

Logs

Web server error log

Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Insert your Nextcloud log here

NOTE: Be super sure to remove sensitive data like passwords, note that everybody can look here! You can use the Issue Template application to prefill some of the required information: https://apps.nextcloud.com/apps/issuetemplate

@xXSTrikeXx
Copy link
Contributor

xXSTrikeXx commented Mar 5, 2018

Can you provide more infos?
Not working is like a car is not working. There it could be a broken exhaust pipe or a broken clutch....
Nothing in Nextcloud Logs or in the web server logs?

@xXSTrikeXx xXSTrikeXx added the needs info Waiting for info from user(s). Issues with this label will auto-stale. label Mar 5, 2018
@danut2006
Copy link
Author

in web server logs there are nothing to see, and on the phone (I hope I did not get it wrong) but on the phone i didn't find data/nextcloud.log
when i say the app is not work i'm talking about the auto-upload don't work like before the upgrade.

pls help me whit details how to get you the right information.

@xXSTrikeXx
Copy link
Contributor

@danut2006 what is the error msg, when the autouploader tries to upload files to the server?
For data/nextcloud.log you have to look in you webserver in the directory at /nextcloud/data/nextcloud.log. The log is in the data structure on web server :D

Another hint can be to look into the android app under settings in the protocol.

@danut2006
Copy link
Author

@xXSTrikeXx maybe i look like a stupid guy, i check the nextcloud server (/nextcloud/data/nextcloud.log) and there is no file nextcloud.log. (picture atache)
on the phone i try to find in the app setting the protocol section bat there is nothing there(picture atache)
haw i say in the first post, the app work, bat upload the photos/video only if i open the nextcloud app, she don't auto-upload the media in the background like before the upgrade.
this issue it is annoying because i have to check if the all media was correct upload and don't miss any file.
capture
whatsapp image 2018-03-06 at 20 00 47

@danut2006 danut2006 reopened this Mar 6, 2018
@xXSTrikeXx
Copy link
Contributor

xXSTrikeXx commented Mar 6, 2018

ll? is that an alias? ls -l should list the directory ;)

And nextcloud android protocol is not findable in the system settings, rather in the app itself under settings and protocol:

screenshot_2018-03-06-19-11-56

@danut2006
Copy link
Author

ok i found.
currentLog.txt

@danut2006
Copy link
Author

resend the photo for the nextcloud server
capture

@xXSTrikeXx
Copy link
Contributor

xXSTrikeXx commented Mar 6, 2018

@danut2006 Can you explain where your data directory is? There should be all files in with personal data of all users.
There should be sth like this:

drwxr-xr-x 12 www-data www-data 4096 Feb 8 04:31 appdata_oc6dfsafe3
drwxrwxrwx 10 www-data www-data 4096 Aug 7 2017 appdata_oc6dfsafe3
drwxrwxrwx 2 www-data www-data 4096 Aug 6 2017 dataBackup
drwxr-xr-x 2 www-data www-data 4096 Sep 11 01:50 files
drwxrwxrwx 2 www-data www-data 4096 Feb 14 19:16 files_external
drwxrwxrwx 3 www-data www-data 4096 Aug 7 2017 gpxedit
-rwxrwxrwx 1 www-data www-data 0 Feb 16 03:32 index.html
-rw-r----- 1 www-data www-data 331026294 Mar 6 21:01 nextcloud.log
drwxr-xr-x 4 www-data www-data 4096 Feb 14 22:15 ownbackup
drwxrwxrwx 8 www-data www-data 4096 Oct 21 11:59 User
drwxr-xr-x 5 www-data www-data 4096 Feb 26 04:36 User
drwxr-xr-x 4 www-data www-data 4096 Feb 24 18:43 User
drwxr-xr-x 4 www-data www-data 4096 Feb 12 22:10 test
drwxr-xr-x 4 www-data www-data 4096 Feb 28 07:25 Test2
drwxrwxrwx 9 www-data www-data 4096 Feb 8 22:52 User
drwxr-xr-x 7 www-data www-data 4096 Jan 31 20:37 User
-rwxrwxrwx 1 www-data www-data 1106627 Feb 8 02:48 updater.log
drwxr-xr-x 4 www-data www-data 4096 Feb 8 03:15 updater-oc6dfsafe3
drwxrwxrwx 4 www-data www-data 4096 Aug 19 2017 updater-oc6dfsafe3

@tobiasKaminsky is that normal?

currentLog.txt

2018/03/05 19:49:59
FileDisplayActivity : onStop() ending

2018/03/05 19:49:59
FileDisplayActivity : onDestroy() ending

2018/03/05 19:49:59
OperationsService : Destroying service

2018/03/05 19:49:59
FileDownloader : Destroying service

2018/03/05 19:49:59
FileUploader : Destroying service

Is nothing in the apache error log and nextcloud.log? :) Maybe I can investigate and help you tomorrow. Easily write me on IRC(STrike). I´ll check it there periodicly ;)

Not until the issue is fixed, could you disable custom theming? ;)

@xXSTrikeXx
Copy link
Contributor

@danut2006 It comes to mind:
Have you set nextcloud to allow power consumption? Since Android 6 (or maybe already 5) the apps needs to be added to a list, which are allowed to be running in background. Otherwise every app will be closed to reduce power consumption ;) Maybe this is your solution ;)

@danut2006
Copy link
Author

Hello,

i think you may have right, i make changes on the phone to allow power consumption and it look the auto-upload works. i will monitoring the app tomorrow and i came back whit an answer about the app.
tks very much for your help to resolve that issue.

@xXSTrikeXx
Copy link
Contributor

xXSTrikeXx commented Mar 7, 2018

Yes, thats Huawei, mario and I love it... 🙄

@mario mario closed this as completed Mar 7, 2018
@xXSTrikeXx xXSTrikeXx removed the needs info Waiting for info from user(s). Issues with this label will auto-stale. label Mar 7, 2018
@tobiasKaminsky
Copy link
Member

Is there a way to detect these aggressive power mechanism? Then we would show a snackbar when enabling auto-upload...

@xXSTrikeXx
Copy link
Contributor

xXSTrikeXx commented Mar 14, 2018

@tobiasKaminsky have a look at the app radio.de There is the snackbar implemented. Maybe you can work with it, even it is not open source. @mario and me last tried it on my device with talk. 😉 @mario Have you finally found a solution?

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

No branches or pull requests

4 participants