Quantcast
Channel: Discourse Meta - Latest topics
Viewing all 60721 articles
Browse latest View live

Better auto-backup options

$
0
0

@ky_metro wrote:

We could use a few more options for automatic backups. Digital Ocean offers pretty limited disk space, whereas S3 is infinite. Currently they are synced together, meaning S3 is limited to available local space. On my site, that means two daily backups complete, then the process stalls.

Here's some ideas:

  • Option to backup database only (no files). This option is available already for manual backups. It saves a lot of space for file-heavy sites, and allows more backups to be stored locally.

  • Better scheduler. With two backup options, you will want the ability to do both at different times (ie daily database backups plus weekly full backup).

  • Option to manage S3 storage separate from Discourse. Again, with limited local disk space, I'd like the option to keep one daily backup on local disk but infinite backups on S3.

  • If there's not enough local disk space left, delete the oldest backup before starting a new one. This would prevent a full disk from stalling your backups, assuming they are similar in size.

  • Notification if auto-backup failed to run. Right now it fails silently, and I have to remember to check on it.

Posts: 1

Participants: 1

Read full topic


Incorrect combination of Site Settings (related to s3) can bring the site down

$
0
0

@mc0e wrote:

Continuing the discussion from 500 error in AWS s3 code:

My support request has quite reasonably been closed, but it appears that it's possible to lock oneself out of the admin interface and the entire web site through an incorrect combination of settings, which should be treated as a bug.

Posts: 3

Participants: 2

Read full topic

Signup button remains disabled when inserting generated password

$
0
0

@ThiefMaster wrote:

I'm using this firefox extension to generate passwords. This works fine but I guess it doesn't trigger whatever event discourse is looking for on the form field, so the register button stays disabled until I change something else in the form.

Posts: 4

Participants: 4

Read full topic

Can we have have one post with two different language

Post small actions appearing in search results

Requiring users to set a custom avatar before posting

$
0
0

@pieterhoogenboom wrote:

Hey everyone. This seems like a nice feature I'd love.

I have 3,000+ users on https://nomadforum.io, but many of them have never set a profile pic. And it just makes it look better if they would. I now send them a welcome message like

"I see you haven't set a profile pic yet, please do it now :)"

But it'd be even better if I could stop people from posting and alert them to set a pic first.

Obviously this should be optional.

Posts: 6

Participants: 4

Read full topic

Composer preview broken in Firefox ESR 17

Uploading animated gif to user card - No Animation

$
0
0

@Basanoviat wrote:

I am on the most recent update v1.4.0.beta11 +172. I have seen a few forums including Meta that allows animated Gifs in the user card. I attempted to upload several different GIFs as a user card background, but they all come in as still images. Is there anything special i need to do? i even played around with these settings to no avail:
download remote images to local
create thumbnails
allow animated avatars
allow animated thumbnails

nothing seemed to fix the issue. Any ideas?

Posts: 13

Participants: 4

Read full topic


Share button in threads?

$
0
0

@AlexAB wrote:

Is there any way to have a "share button" in threads?

I have social icons on our forum, but instead of having a twitter button that helps people on our forums leave to Twitter, why not try a "share this" button? When they go to share a post, it’ll pop up with a message I write, plus a link to the thread (that has our UTM tracking in it). Then we will be keeping people in the forums and getting them to share to their networks, hopefully bringing more people in...that is the traffic I want to keep track of!

Posts: 4

Participants: 3

Read full topic

Postgres Errors on Rebuild

$
0
0

@thomaspurchas wrote:

When attempting to rebuild a discourse instance it always fails with a FAILED TO BOOTSTRAP error that seems to be linked to Postgres. Looking at the logs, and playing Postgres in the containers it seems that Postgres is taking forever to startup and shutdown, and thus the SQL upgrade commands are executed before Postgres has had time to start properly.

I can't figure out how to get Postgres to behave, I've tried manually shutting it down before the stopping the docker container to ensure that I shuts down properly, but that still doesn't help :frowning:

Ensuring discourse docker is up to date
Fetching origin
Discourse Docker is up-to-date
Stopping old container
+ /usr/bin/docker stop -t 10 app
app
cd /pups && git pull && /pups/bin/pups --stdin
Already up-to-date.
I, [2015-09-16T19:45:54.861281 #37]  INFO -- : Loading --stdin
I, [2015-09-16T19:45:54.889322 #37]  INFO -- : > mkdir -p /shared/postgres_run
I, [2015-09-16T19:45:54.909013 #37]  INFO -- :
I, [2015-09-16T19:45:54.910480 #37]  INFO -- : > chown postgres:postgres /shared/postgres_run
I, [2015-09-16T19:45:54.926713 #37]  INFO -- :
I, [2015-09-16T19:45:54.928089 #37]  INFO -- : > chmod 775 /shared/postgres_run
I, [2015-09-16T19:45:54.948182 #37]  INFO -- :
I, [2015-09-16T19:45:54.949350 #37]  INFO -- : > rm -fr /var/run/postgresql
I, [2015-09-16T19:45:54.960375 #37]  INFO -- :
I, [2015-09-16T19:45:54.961578 #37]  INFO -- : > ln -s /shared/postgres_run /var/run/postgresql
I, [2015-09-16T19:45:54.974970 #37]  INFO -- :
I, [2015-09-16T19:45:54.976072 #37]  INFO -- : > socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
2015/09/16 19:45:55 socat[45] E connect(4, AF=1 "/shared/postgres_run/.s.PGSQL.5432", 36): Connection refused
I, [2015-09-16T19:45:55.072442 #37]  INFO -- :
I, [2015-09-16T19:45:55.073452 #37]  INFO -- : > rm -fr /shared/postgres_run/.s*
I, [2015-09-16T19:45:55.079187 #37]  INFO -- :
I, [2015-09-16T19:45:55.080058 #37]  INFO -- : > rm -fr /shared/postgres_run/*.pid
I, [2015-09-16T19:45:55.085358 #37]  INFO -- :
I, [2015-09-16T19:45:55.086623 #37]  INFO -- : > mkdir -p /shared/postgres_run/9.3-main.pg_stat_tmp
I, [2015-09-16T19:45:55.090479 #37]  INFO -- :
I, [2015-09-16T19:45:55.091570 #37]  INFO -- : > chown postgres:postgres /shared/postgres_run/9.3-main.pg_stat_tmp
I, [2015-09-16T19:45:55.095324 #37]  INFO -- :
I, [2015-09-16T19:45:55.104215 #37]  INFO -- : File > /etc/service/postgres/run  chmod: +x
I, [2015-09-16T19:45:55.113364 #37]  INFO -- : File > /etc/runit/3.d/99-postgres  chmod: +x
I, [2015-09-16T19:45:55.122626 #37]  INFO -- : File > /root/upgrade_postgres  chmod: +x
I, [2015-09-16T19:45:55.125918 #37]  INFO -- : > chown -R root /var/lib/postgresql/9.3/main
I, [2015-09-16T19:45:55.151941 #37]  INFO -- :
I, [2015-09-16T19:45:55.152848 #37]  INFO -- : > [ ! -e /shared/postgres_data ] && install -d -m 0755 -o postgres -g postgres /shared/postgres_data && sudo -E -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /shared/postgres_data || exit 0
I, [2015-09-16T19:45:55.157108 #37]  INFO -- :
I, [2015-09-16T19:45:55.157601 #37]  INFO -- : > chown -R postgres:postgres /shared/postgres_data
I, [2015-09-16T19:45:55.192969 #37]  INFO -- :
I, [2015-09-16T19:45:55.193638 #37]  INFO -- : > chown -R postgres:postgres /var/run/postgresql
I, [2015-09-16T19:45:55.198057 #37]  INFO -- :
I, [2015-09-16T19:45:55.199366 #37]  INFO -- : > /root/upgrade_postgres
I, [2015-09-16T19:45:55.208457 #37]  INFO -- :
I, [2015-09-16T19:45:55.209707 #37]  INFO -- : > rm /root/upgrade_postgres
I, [2015-09-16T19:45:55.213369 #37]  INFO -- :
I, [2015-09-16T19:45:55.224295 #37]  INFO -- : Replacing data_directory = '/var/lib/postgresql/9.3/main' with data_directory = '/shared/postgres_data' in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.225981 #37]  INFO -- : Replacing (?-mix:#?listen_addresses *=.*) with listen_addresses = '*' in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.231532 #37]  INFO -- : Replacing (?-mix:#?synchronous_commit *=.*) with synchronous_commit = $db_synchronous_commit in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.233514 #37]  INFO -- : Replacing (?-mix:#?shared_buffers *=.*) with shared_buffers = $db_shared_buffers in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.236103 #37]  INFO -- : Replacing (?-mix:#?work_mem *=.*) with work_mem = $db_work_mem in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.238310 #37]  INFO -- : Replacing (?-mix:#?default_text_search_config *=.*) with default_text_search_config = '$db_default_text_search_config' in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.241234 #37]  INFO -- : > install -d -m 0755 -o postgres -g postgres /shared/postgres_backup
I, [2015-09-16T19:45:55.345916 #37]  INFO -- :
I, [2015-09-16T19:45:55.346424 #37]  INFO -- : Replacing (?-mix:#?max_wal_senders *=.*) with max_wal_senders = $db_max_wal_senders in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.347808 #37]  INFO -- : Replacing (?-mix:#?wal_level *=.*) with wal_level = $db_wal_level in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.349858 #37]  INFO -- : Replacing (?-mix:#?checkpoint_segments *=.*) with checkpoint_segments = $db_checkpoint_segments in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.371186 #37]  INFO -- : Replacing (?-mix:#?logging_collector *=.*) with logging_collector = $db_logging_collector in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.373703 #37]  INFO -- : Replacing (?-mix:#?log_min_duration_statement *=.*) with log_min_duration_statement = $db_log_min_duration_statement in /etc/postgresql/9.3/main/postgresql.conf
I, [2015-09-16T19:45:55.401660 #37]  INFO -- : Replacing (?-mix:^#local +replication +postgres +peer$) with local replication postgres  peer in /etc/postgresql/9.3/main/pg_hba.conf
I, [2015-09-16T19:45:55.402882 #37]  INFO -- : Replacing (?-mix:^host.*all.*all.*127.*$) with host all all 0.0.0.0/0 md5 in /etc/postgresql/9.3/main/pg_hba.conf
I, [2015-09-16T19:45:55.412008 #37]  INFO -- : > HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.3/bin/postmaster -D /etc/postgresql/9.3/main
I, [2015-09-16T19:45:55.435160 #37]  INFO -- : > sleep 5
2015-09-16 19:45:55 UTC [69-1] LOG:  database system was interrupted; last known up at 2015-09-16 19:35:16 UTC
I, [2015-09-16T19:46:00.518385 #37]  INFO -- :
I, [2015-09-16T19:46:00.520790 #37]  INFO -- : > su postgres -c 'createdb discourse' || true
2015-09-16 19:46:01 UTC [73-1] postgres@postgres FATAL:  the database system is starting up
2015-09-16 19:46:01 UTC [74-1] postgres@template1 FATAL:  the database system is starting up
createdb: could not connect to database template1: FATAL:  the database system is starting up
I, [2015-09-16T19:46:01.467807 #37]  INFO -- :
I, [2015-09-16T19:46:01.469540 #37]  INFO -- : > su postgres -c 'psql discourse -c "create user discourse;"' || true
2015-09-16 19:46:01 UTC [85-1] postgres@discourse FATAL:  the database system is starting up
psql: FATAL:  the database system is starting up
I, [2015-09-16T19:46:01.783704 #37]  INFO -- :
I, [2015-09-16T19:46:01.785473 #37]  INFO -- : > su postgres -c 'psql discourse -c "grant all privileges on database discourse to discourse;"' || true
2015-09-16 19:46:01 UTC [96-1] postgres@discourse FATAL:  the database system is starting up
psql: FATAL:  the database system is starting up
I, [2015-09-16T19:46:01.894015 #37]  INFO -- :
I, [2015-09-16T19:46:01.895739 #37]  INFO -- : > su postgres -c 'psql discourse -c "alter schema public owner to discourse;"'
2015-09-16 19:46:01 UTC [107-1] postgres@discourse FATAL:  the database system is starting up
psql: FATAL:  the database system is starting up
I, [2015-09-16T19:46:02.007073 #37]  INFO -- :
I, [2015-09-16T19:46:02.008035 #37]  INFO -- : Terminating async processes
I, [2015-09-16T19:46:02.008605 #37]  INFO -- : Sending INT to HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.3/bin/postmaster -D /etc/postgresql/9.3/main pid: 66
2015-09-16 19:46:02 UTC [66-1] LOG:  received fast shutdown request
I, [2015-09-16T19:46:12.010101 #37]  INFO -- : HOME=/var/lib/postgresql USER=postgres exec chpst -u postgres:postgres:ssl-cert -U postgres:postgres:ssl-cert /usr/lib/postgresql/9.3/bin/postmaster -D /etc/postgresql/9.3/main pid:66 did not terminate cleanly, forcing termination!


FAILED
--------------------
RuntimeError: su postgres -c 'psql discourse -c "alter schema public owner to discourse;"' failed with return #<Process::Status: pid 97 exit 2>
Location of failure: /pups/lib/pups/exec_command.rb:105:in `spawn'
exec failed with the params "su postgres -c 'psql $db_name -c \"alter schema public owner to $db_user;\"'"
b3196e0243c355adc35816476f63c39ac641d85ab51a9898e94a42715a884d78
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Posts: 4

Participants: 2

Read full topic

Recover a user who was deleted as a spammer

$
0
0

@neil wrote:

So you accidentally flagged a post as spam and deleted the user from your site, but want to bring the user back. Oops.

Nuking a spammer from Discourse will automatically block them from signing up based on email address and IP address. So the first thing you need to do to allow the person back onto your site is find them in the screened emails and ip addresses lists in admin.

In the staff action logs, you can find some information to help you find out what happened:

The date might help you find the correct record in the screened emails list. If you find a match, note the IP address and then click the "Allow" button to stop blocking signups from that email address.

If you find a match for the IP address in the screened IP address list, then click the trash can icon to delete the record. Don't click Allow.

From that last screenshot, you can see that the user who was accidentally deleted and banned has tried to register on the site 51 times. Oops, sorry! :blush:

Now they should be able to register for a new account again. The old user is gone so we can't recover it, but they can use the same email address and username as the deleted user.

When a user is nuked as a spammer, the posts are marked as deleted and have no author. So you'll need to find those posts and assign them to the new user.

By clicking on the Show link from the staff action logs table (the first screenshot), you'll see which topic had a post belonging to that user. That's a place to start. As an admin, you'll see where the post was like this:

Click it to reveal the post.

Now you can assign the post to the new user by clicking the wrench icon on the right, selecting the post (or multiple posts if they had more than one in that topic), and changing the ownership to the new user. Once that's done, recover the posts so they are visible again.

Posts: 1

Participants: 1

Read full topic

Default Language for Admin Related Emails

$
0
0

@cogdog wrote:

I am running a community for a mostly Spanish speaking audience, and having a default language setting works great for them.

I am the admin, and do not speak Spanish, so in my account preferences, my language is set to English. However the system emails to me come in Spanish, just now the notice of a new version:

I sort of expected discourse to know which language to use when emailing me (?) It's not a huge issue, but a nice to have. Thanks

Posts: 3

Participants: 3

Read full topic

Clicking on user avatars of people in PMs doesn't pop up user card

Gravatar refresh not working

$
0
0

@ntadej wrote:

I recently updated my avatar on Gravatar. I know discourse caches these images so I decided to manually refresh the image but it's not applied and now I only have placeholder 1px avatar.

What seems to happen:
When clicking refresh, a new image gets downloaded and avatar index gets increased, but my user still has same index in URL returned from server.

Example from my local instance:
My user's avatar: /user_avatar/discuss.tano.si/tadej/90/2_1.png
When I inspect Gravatar in user settings: /user_avatar/discuss.tano.si/tadej/90/17_1.png

I experience the same here on meta and on my instance (latest beta).

Posts: 4

Participants: 4

Read full topic

Profile menu next to hamburger suddently gone

$
0
0

@HerrHoltz wrote:

Hi

I just updated to the newest version (v1.4.0.beta12 +55) and the profile menu disappeared. As well as the list of users participating in a topic.

Posts: 19

Participants: 5

Read full topic


How to set up a "standalone" discourse discussion forum

$
0
0

@petter wrote:

I want to set up a discourse site for people working with/interested in administration of international education programs between Norway and N.America. Users will come from many different institutions and organizations and may also include people with no institutional affiliation, so I do not want the discourse site to be linked to any particular website. Is that possible, or is discourse always set up as a subsection of an existing website?

Posts: 3

Participants: 3

Read full topic

Setting for auto closing topic if OP is hidden

$
0
0

@flameens wrote:

There have been requests in my community for a feature that temporarily auto closes a topic if the OP has been hidden via community flagging. The reasoning behind this is that if the OP is hidden, there is little sense in continuing the discussion anyway, and it would be a good way to stop potential flames before they even begin. Of course this could set to on or off according to the needs of a specific community. Mine is quite prone to flames lately, so that's why we're asking.
I know there's a global setting for auto close, but it doesn't work exactly the same way. Is this something you would consider adding in the future?

Posts: 3

Participants: 3

Read full topic

Bulletpoint generation broken

Replies to whispers should be whispers?

$
0
0

@calmh wrote:

They seem not to be, by default, and it seems impossible to change after the fact...

Posts: 2

Participants: 2

Read full topic

Integration with Envato API for verification of purchase code

$
0
0

@Guido_Aguiar wrote:

Hi, are you planning to integrate with envato API to enable an option to only accept registrations of people who has a purchase code from one of envato's market.

I believe many of envato's users are seeking discourse as a solution for their forums, now that envato also uses Discourse

If you are not planning to do this, please consider.

Many thanks,
Guido

Posts: 1

Participants: 1

Read full topic

Viewing all 60721 articles
Browse latest View live




Latest Images