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

enhancement: give the user some hint as to why an export failed #456

Open
svenb1234 opened this issue Jul 11, 2023 · 5 comments
Open

enhancement: give the user some hint as to why an export failed #456

svenb1234 opened this issue Jul 11, 2023 · 5 comments

Comments

@svenb1234
Copy link

Some attempt to export failed. I got that message via the client and on the web interface. "Export of x failed."

This does not give any hint to the user what the reason for failing was. Hence the user cannot change anything in order to make the export work.

A normal user cannot check the logs of the nextcloud installation and is thus stuck.

@Pytal
Copy link
Member

Pytal commented Jul 15, 2023

Most failures would probably require a sysadmin to resolve so we could add a message to contact your system administrator @come-nc?

@svenb1234
Copy link
Author

So the app does not know whether it failed at gathering the DB, or which folder it was packing, which file etc.?

@Pytal
Copy link
Member

Pytal commented Jul 21, 2023

The total number of ways that an export could fail is too large to handle with such granularity, not sure if it would be worth it @come-nc?

@come-nc
Copy link
Collaborator

come-nc commented Jul 27, 2023

Not sure it is easy to give details to the user without security issues. We cannot leak to the user the data path, or the database used and so on.

I will not work on that I am open to reviewing PR giving more information about failures, as long as the concern I expressed above is adressed.

@Pytal
Copy link
Member

Pytal commented Aug 16, 2023

Feel free to open a PR @svenb1234 :)

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

3 participants