-
Notifications
You must be signed in to change notification settings - Fork 58
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
Change / reset / server configure federated cloud ID #233
Comments
Activitypub (the federation protocol for social) needs one fixed address while Nextcloud allows multiple domains for one instance. Therefore we try to automatically determine the primary address (otherwise ask the admin for it) and use the |
@violoncelloCH |
@Lars1963 The tables have a prefix like |
THX |
You will also need to remove carefully any entry from oc_migrations with |
@violoncelloCH just to check, is it possible to "drop the tables" or should I better delete all rows? I tried deleting by dropping but when I re-downloaded social that did not seem to regenerate the tables, or is the regeneration dependent on the oc_migrations step described. @daita just to check you would expect there not to be too many |
@john-2000 AFAIK the tables are regenerated if the app is downloaded and activated and doesn't find the tables, so drop should work. |
I will release a 0.1.1 this week, including a simple command to reset the whole database of the app. |
@daita |
It would be great to have the opportunity to set a different domain to the social app. While I am very curious to check out the fediverse from within my Nextcloud instance, I would rather not do this with my federated cloud ID. Propably in many cases it looks like |
You might want to install an instance of mastodon on a different host than your cloud ? :) I understand your concerns and, as far as I haven't tested, some alias in your configuration of apache might do the trick:
Keep in mind that the app is in Alpha status, and out-of-the-box setup are not already available nor tested. |
@daita of course, the Still, as stated above, the social app chooses the domain configured in This should be read as a feature request, rather than a bug fix. I might have opened up a separate issue for this, but it kind of fits in here as well. |
@rev138 that would be |
I didtn see the occ social:reset command, so I did remove the "oc_social" tables manually and removed the folder for the social app. |
When I open the social app afterwards, I get the message "We automatically created a Social account for you. Your Social ID is the same as your federated cloud ID: @trougnouf@localhost " even though I set overwrite.cli.url (which was previously set to localhost) and restarted apache. I deleted all the oc_social tables from the database and since then I get an internal server error whenever I try to access the social tab (even after reinstalling the social app) edit:
fixes the internal server error, but I still have a localhost domain. @mracreep 's suggestion to remove tables from oc_appconfig worked. This should be fixed for #1129 |
Describe the bug
I have used both local IP 192.168.xx.yy as well as remote IP my.domain.com to log onto my nextcloud.
Sharing under settings reflects the way I have logged on ie john@192.168.xx.yy if logged on via local ip or john@my.domain.com if logged on via the web.
social seems stuck on the local ip ie john@192.168.xx.yy and I do not seem to be able to change it - this is independent of log on method.
To Reproduce
I cannot change the settings or cannot find a way to force the format of the federated ID anywhere so I cannot do a reproduce
Expected behavior
User should be allowed to set (& fix) a federated cloud ID in either social or system settings
and/or
Admin should be able to fix permissible federated cloud IDs, for instance limit domains
Using NC 15.0 on apache2 ubuntu 18.04
The text was updated successfully, but these errors were encountered: