pauamma: Cartooney crab wearing hot pink and acid green facemask holding drink with straw (Default)
Res facta quae tamen fingi potuit ([personal profile] pauamma) wrote in [site community profile] dw_dev2018-02-17 02:43 am
Entry tags:

Question thread #61

It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.
octorok: (Default)

[personal profile] octorok 2018-02-17 08:30 am (UTC)(link)
I'm having a bit of a dilemma. For some reason, email notifications stopped working on my site a few days ago and I haven't been able to figure out why. First they were working and then boom, two days later they weren't. I hadn't worked on the site at all during this time, so I'm not really sure where to even begin with this. :(

ETA: I forgot to add what is probably a very important tidbit: I get the "Welcome to Your Site" email notifications just fine when I create an account. It appears to be comment reply notifications that aren't being sent. Any ideas?
Edited (edited for clarity because i'm sleeeepy) 2018-02-17 10:25 (UTC)
octorok: (Default)

[personal profile] octorok 2018-02-18 08:36 am (UTC)(link)
Nada. I'm not getting inbox notifications for any of my test accounts, no.
octorok: (Default)

[personal profile] octorok 2018-02-19 09:14 am (UTC)(link)
I do use the bin/worker-manager, and here's what my workers.conf looks like: https://pastebin.com/raw/cztBCHB5
octorok: (Default)

[personal profile] octorok 2018-02-20 02:04 am (UTC)(link)
Ok, I added that line to the conf file at the end of the "all" section, restarted the worker-manager, and still no go. I don't see notifs in my e-mail or dw inbox unfortunately.
octorok: (Default)

[personal profile] octorok 2018-02-21 05:54 am (UTC)(link)
Just one server! :) Here's the output:




octorok: (Default)

[personal profile] octorok 2018-02-22 06:46 am (UTC)(link)
I did when I was trying to figure out why notifs stopped. I didn't know running it a few times would run multiple instances. Anyway, here's the output:

Edited (wrong screenshot) 2018-02-22 06:48 (UTC)
geekosaur: Chuck the FreeBSD Daemon (freebsd)

[personal profile] geekosaur 2018-02-22 10:39 pm (UTC)(link)
Uh, your terminal's in no-wrap mode for some reason. Try "tput reset", then run the "ps uxww" again.
octorok: (Default)

[personal profile] octorok 2018-02-23 01:36 am (UTC)(link)
Whoa, I had no idea. Thanks for the help. Here's a new screenshot:

octorok: (Default)

[personal profile] octorok 2018-02-23 05:09 am (UTC)(link)
Okie dokie, gave my system account that priv and got this error message when I tried accessing theschwartz admin console:

Failed to retrieve outstanding job list: Table 'dw_schwartz.job' doesn't exist.
octorok: (Default)

[personal profile] octorok 2018-02-24 06:23 am (UTC)(link)
Here ya go:

@THESCHWARTZ_DBS = (
{
dsn => 'dbi:mysql:dw_schwartz;host=localhost', # CHANGETHIS if on Dreamhack to dreamhack_username instead of dw_schwartz
user => 'dw', # CHANGETHIS if on Dreamhack to dh_username
pass => 'password', # CHANGETHIS
},
);
octorok: (Default)

[personal profile] octorok 2018-02-25 09:42 am (UTC)(link)
Okay. Here's what I got (a whole lot of nothing it looks like!):

octorok: (makoto.)

[personal profile] octorok 2018-02-26 04:26 am (UTC)(link)
That did the trick! :) Comment notifications seem to be working now. I'll do more testing on the other features to make sure everything's working and if I have any problems I'll be sure to bring them here. You guys are great! Thanks for the help.
annathecrow: screenshot from Star Wars: The Phantom Menace. A detail of the racing pod engines. (Default)

[personal profile] annathecrow 2018-02-17 02:08 pm (UTC)(link)
I've been wondering, what's the logic behind making user's Reading page public?

I mean, the list of followed blogs/comms of a user is public, and so are the posts that are displayed, therefore nothing is technically divulged that couldn't be obtained in other ways. But all other social media I know of treat feeds/dashboards as private.
ironymaiden: (DW friends)

[personal profile] ironymaiden 2018-02-17 07:57 pm (UTC)(link)
I think part of this was discoverability - here's who your friends or someone you follow are reading and maybe you would like it too.
denise: Image: Me, facing away from camera, on top of the Castel Sant'Angelo in Rome (Default)

[staff profile] denise 2018-02-21 06:43 pm (UTC)(link)
One part "it's been done that way since LJ added the concept of the friends page and it's not worth changing", one part "not wanting to give people a false sense of security by implying the contents of their reading page are private", one part "in about half the ways people use the site, public reading pages are an advantage in that they help people discover other nifty accounts they might not be following or allow people to build public reading lists to share with others", one part "because DW has the concept of locked/private entries, people don't have to rely on the concept of 'public but less discoverable' that they do on other sites", really.
annathecrow: screenshot from Star Wars: The Phantom Menace. A detail of the racing pod engines. (Default)

[personal profile] annathecrow 2018-02-21 07:17 pm (UTC)(link)
Thanks for the replies, everyone :)