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

Following status of the follow button returns to follow after refresh. following not saved #1813

Open
maximelehericy opened this issue Jul 18, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@maximelehericy
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. https://cloud.example.com/apps/social/@username/
  2. click follow
  3. remove your mouse from the button
  4. button is green, marking following
  5. refresh
  6. 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
image
after click
image
after refresh
image

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.1

Operating 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) ...
@Thatoo
Copy link

Thatoo commented Dec 17, 2023

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.

@Thatoo
Copy link

Thatoo commented Dec 17, 2023

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 #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; }

@Thatoo
Copy link

Thatoo commented Dec 17, 2023

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants