social
social copied to clipboard
Following status of the follow button returns to follow after refresh. following not saved
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- https://cloud.example.com/apps/social/@username/
- click follow
- remove your mouse from the button
- button is green, marking following
- refresh
- button is default color again, followee/follower status unchanged.
Expected behavior button should stay green, and the user added to the list of followers/followees
Screenshots
initial state
after click
after refresh
Client details:
- OS: [e.g. iOS] windows
- Browser [e.g. chrome, safari] firefox
- Version [e.g. 22] 111
- Device: [e.g. iPhone6, desktop]
Server details
**Social app version:** 0.6.1Operating system: t.nc.c
Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
I face the same issue. I can't follow external users then. I can follow local users though..
And I can be followed by external users.
Well, I have to moderate my previous message. It seems like there is only one account I can't follow, the only one I was trying because it's mine. Maybe at some point I couldn't follow any account (at the time I could not be followed, check https://github.com/nextcloud/social/issues/1697 to know how I solved it) but I didn't try several account, I just tried mine and now, the problem is solved but because mine was "blocked" or something, I still can't follow mine...
I tried following my externa account from an other local account and I works. So only my local account can't follow my external account 'maybe due to past error)...
So the pbm sounds like solved to me. Maybe it was because of the same reason I could not be followed, that's the only thing I have changed but because I was focusing only on following my remote account from my local account, (which is not working) , i didn't realized I could actually follow all other external account.
What I changed was, in nginx :
location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$uri; }
to
location = /.well-known/webfinger { return 301 /nuage-nextcloud/index.php$request_uri; }
Well, I even could solve the last issue, I mean follow my remote account with my local account doing first the following occ command
occ social:account:following --unfollow <userIdOfLocalAccound> <RemoteAccount>