Reproduce steps? Nothing happens when I select a category as default watch and press the green button. Red cross makes it undo and green checkmark does not do anything (it should ask if I want to apply to old users, it works on another forum I installed).
To update my case: Did a clean install on new server and it works, I can enable the setting with no issue… Restored the backup from my production site and the same issue appears. I am totally clueless, this was a clean install just two days ago and have no idea what I did wrong.
If someone from the team wants to check the issue for himself I can provide admin login to my staging site and u can do whatever you want to check the issue.
Yes. To be specific I setup the staging server on stage1.domain.com, ran the initial setup, enabled restores, uploaded this from the web interface and restored.
But let me ask it this way: is the hostname located in /etc/hosts supposed to exactly match my hostname in my Discourse app.yml file?
And how is this related to the hostname I initially setup in DO, and the name the droplet has within DO?
Did you both read this issue? It is unrelated to a domain change and really frustrating to see people just throw some URL at me. I know the guide. Why is everyone keeping referring to this guide? This is not the problem, my site is working fine except for the bug.
I feel like I am just left in the dark now with this crazy issue after two days. Please read the OP again. I CANNOT SAVE DEFAULT WATCHED SETTINGS - the hostname is unrelated and correct so I don’t need that guide, again.
Isn’t there someone from the team here? It’s super nice to install this in under 30 mins but as soon as there are issues I noticed many forum topics are being left open and unsolved. Starting to feel like a mistake selfhosting this.
This suggests that something is wrong with the data you restored. We suggested a solution,but you didn’t say much about how you created the data, so our suggestion might be wrong.
Yes. This is their job,so they’ll likely not be around until Monday.
To what solution are you referring? At this point I’ve done a lot of installs according to the guides and the hostname is correct. My etc/hosts suggestion was just a possible problem which by now I know has nothing to do with it. So yes, we can state it is in my backup or database.
But I did nothing strange. My forum launched users signing up - I never messed with my DB. That leaves my completely clueless on how to solve this problem.
Can you tell me what you need to help me solve this? I have provided a pastebin in the OP with my error log. Does this help?
How I created the restore data. The data is actually just a 2-days young database from scratch.
backup made on production site
Downloaded tar.gz file through the email URL
Setup staging env on a new DO droplet.
Allowed restores in settings and restored through the admin interface.
Are you comfortable doing some debugging ? I can’t repro your error, and being in production your logs don’t tell me enough so far.
What you could do:
open chrome dev console (doable on something else than chrome but this is what I know better)
do the problematic action
copy the first line of the stack which in your pastbin would be: https://domain.com/assets/application-1beed43f1604869d65e7d466de8cb9119afcf1cbbc2eae42c98ae8f7a5d0edf9.js:1:2086519
press cmd + shift + p (don’t know on windows, but must be close to this)
be sure to remove the > and then paste https://domain.com/assets/application-1beed43f1604869d65e7d466de8cb9119afcf1cbbc2eae42c98ae8f7a5d0edf9.js:1:2086519 it should find a file, click on it
click on the {} at the he bottom left, it should show you some code, copy/paste me this block here please
Thanks for looking into this. Please, my forum is working perfectly besides this, there is no hurry. It is sunday evening, enjoy it and thanks for confirming the issue.
Just did a rebuild because I wanted to install the fingerprint plugin. I don’t know if you guys fixed this or if magic happened? But… I finally am able to save my default watching settings. Thanks!