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

Edit account's server URL #5065

Closed
schittli opened this issue Jul 18, 2016 · 5 comments
Closed

Edit account's server URL #5065

schittli opened this issue Jul 18, 2016 · 5 comments

Comments

@schittli
Copy link

schittli commented Jul 18, 2016

Expected behaviour

It would be great if the user could just change the account settings in the Windows Client, e.g. the password or the owncloud URL / Port.

Actual behaviour

It Looks like Users have to create a new Desktop Client account if the Password or the URL changes.

Steps to reproduce

  1. Change the Owncloud Server Port or a users Password
  2. Users can no longer connect to owncloud

Server configuration

Operating system: ubuntu
ownCloud version: 9.0.2.2

Client configuration

Client version: 2.2.2 6192
Operating system: Windows 10
OS language: English


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@ckamm
Copy link
Contributor

ckamm commented Jul 21, 2016

@schittli If the password is no longer valid, the client should pop up a dialog asking for the new password once the authentication token expires. Alternatively, you can log out from the account and log in again.

Yes, one currently can't edit the server url or port of existing accounts. Such a change is unusual and might have unintended consequences. If you know what you're doing, you can edit the owncloud config file to make such a change though.

@schittli
Copy link
Author

Hi ckamm
Thank you very much for your answer!,

I've just tested changing the password using log out / log in and it works :-)

Changing the local Config File worked, too :-), but it's a dangerous solution for non technical users.

Our Background is, that we had to change the Owncloud Connection Port because of "external forces", but I think it's not so unusual to refactor the IT and move some services. Just 1 year ago, we merged with another company and therefore the domain changed...

Therefore editing the Account could be a real life saver.

@ckamm
Copy link
Contributor

ckamm commented Jul 22, 2016

@schittli My concern is that people might accidentally use an "Edit server url" feature inappropriately and lose data. Changing the server url is fine when the same server is now reachable under a different url. But it's dangerous when it's accidentally used to point an existing configuration to a different server.

If one synced ones data to a server, then changed the url to point to a fresh installation, nearly all local data would be deleted.

So if we added this feature it'd need text like this: "Warning: Change the server url only if the same server is now reachable under a different address. Connecting an existing account to a different server will result in files being deleted."

@SamuAlfageme SamuAlfageme changed the title How to change ... just the password in Windows-Client? Edit account's server URL Jan 10, 2017
@yan12125
Copy link
Contributor

yan12125 commented Oct 23, 2017

As a reference for others, I have to re-enter my password after changing the server URL. That's because I save my password in gnome-keyring and owncloud includes the server URL in the "username" field for the keyring. I guess it's time for GNOME to allow changing username in keyring entries lol.

EDIT: macOS's Keychain allows you changing the username. That's good in this case :)

@ogoffart
Copy link
Contributor

ogoffart commented Jun 4, 2018

See discussion in #6376

@ogoffart ogoffart closed this as completed Jun 4, 2018
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

5 participants