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

Slow SQL query causes homepage to load in 2-4 sec

$
0
0

@TomekB wrote:

I have some performance issues with loading the homepage of my forum. The first request takes a long time (2-4 sec) to complete. I see one query in particular that usually takes almost 2 sec. What can I do to improve? I have my DB on a dedicated server with db_shared_buffers: "8GB" and db_work_mem: "100MB"

lib/freedom_patches/active_record_base.rb:7:in `exec_sql'
lib/sql_builder.rb:67:in `exec'
lib/sql_builder.rb:103:in `map_exec'
app/models/topic_tracking_state.rb:178:in `report'
app/controllers/application_controller.rb:446:in `preload_current_user_data'
app/controllers/application_controller.rb:253:in `preload_json'
lib/middleware/anonymous_cache.rb:149:in `call'
config/initializers/100-quiet_logger.rb:16:in `call'
config/initializers/100-silence_logger.rb:29:in `call'
lib/middleware/request_tracker.rb:110:in `call'
lib/scheduler/defer.rb:87:in `process_client'
    SELECT
        u.id AS user_id,
        topics.id AS topic_id,
        topics.created_at,
        highest_staff_post_number highest_post_number,
        last_read_post_number,
        c.id AS category_id,
        tu.notification_level
    FROM topics
    JOIN users u on u.id = 29622
    JOIN user_stats AS us ON us.user_id = u.id
    JOIN user_options AS uo ON uo.user_id = u.id
    JOIN categories c ON c.id = topics.category_id
    LEFT JOIN topic_users tu ON tu.topic_id = topics.id AND tu.user_id = u.id
    WHERE u.id = 29622 AND
        topics.archetype <> 'private_message' AND
        ((1=0) OR ("topics"."deleted_at" IS NULL AND topics.created_at >= GREATEST(CASE
                WHEN COALESCE(uo.new_topic_duration_minutes, 2880) = -1 THEN u.created_at
                WHEN COALESCE(uo.new_topic_duration_minutes, 2880) = -2 THEN COALESCE(u.previous_visit_at,u.created_at)
                ELSE ('2017-11-17 13:16:32.122898'::timestamp - INTERVAL '1 MINUTE' * COALESCE(uo.new_topic_duration_minutes, 2880))
            END, us.new_since, '2017-11-11 22:34:58') AND tu.last_read_post_number IS NULL AND COALESCE(tu.notification_level, 2) >= 2)) AND
        (topics.visible OR u.admin OR u.moderator) AND
        topics.deleted_at IS NULL AND
        ( NOT c.read_restricted OR u.admin OR category_id IN (
            SELECT c2.id FROM categories c2
            JOIN category_groups cg ON cg.category_id = c2.id
            JOIN group_users gu ON gu.user_id = 29622 AND cg.group_id = gu.group_id
            WHERE c2.read_restricted )
        )
        AND NOT EXISTS( SELECT 1 FROM category_users cu
                        WHERE last_read_post_number IS NULL AND
                            cu.user_id = 29622 AND
                            cu.category_id = topics.category_id AND
                            cu.notification_level = 0)


UNION ALL

    SELECT
        u.id AS user_id,
        topics.id AS topic_id,
        topics.created_at,
        highest_staff_post_number highest_post_number,
        last_read_post_number,
        c.id AS category_id,
        tu.notification_level
    FROM topics
    JOIN users u on u.id = 29622
    JOIN user_stats AS us ON us.user_id = u.id
    JOIN user_options AS uo ON uo.user_id = u.id
    JOIN categories c ON c.id = topics.category_id
    LEFT JOIN topic_users tu ON tu.topic_id = topics.id AND tu.user_id = u.id
    WHERE u.id = 29622 AND
        topics.archetype <> 'private_message' AND
        (("topics"."deleted_at" IS NULL AND tu.last_read_post_number < topics.highest_staff_post_number AND tu.notification_level >= 2) OR (1=0)) AND
        (topics.visible OR u.admin OR u.moderator) AND
        topics.deleted_at IS NULL AND
        ( NOT c.read_restricted OR u.admin OR category_id IN (
            SELECT c2.id FROM categories c2
            JOIN category_groups cg ON cg.category_id = c2.id
            JOIN group_users gu ON gu.user_id = 29622 AND cg.group_id = gu.group_id
            WHERE c2.read_restricted )
        )
        AND NOT EXISTS( SELECT 1 FROM category_users cu
                        WHERE last_read_post_number IS NULL AND
                            cu.user_id = 29622 AND
                            cu.category_id = topics.category_id AND
                            cu.notification_level = 0)

;

Posts: 1

Participants: 1

Read full topic


Invites in user page queries database table without checking table emptiness

$
0
0

@marguerite wrote:

Hi,

My instance is a new one so no one invited anyone to anything, and I checked the ‘invites’ table in postgresql database, it is empty.

Then if I open ‘/users’, visit a user’s page and select ‘invites’, it will create a critical error in the error log.

Because:

UserController (app/controllers/user_controller.rb) > invites_count calls app/models/invite.rb, ‘find_all_invites_from’ function didn’t check if invites.email or invites.user_id exists there.

Please reproduce and correct me

:kissing_heart:

Posts: 2

Participants: 2

Read full topic

Whispers and assigns break /unread count in tracked topics

$
0
0

@jomaxro wrote:

If a staff user is tracking a topic and another staff user whispers or assigns the topic, the topic will be counted in the Unread count displayed next to unread in the breadcrumbs. However, clicking Unread the topic will not be displayed and the count will be lowered.

Steps to reproduce:

  1. Staff user A tracks a topic Z.
  2. Staff user B created a whisper at the end of topic Z.
    OR
    Staff user B assigns topic Z.
  3. Staff user A sees their Unread count increase by 1.
  4. Staff user A clicks on Unread and sees the unread count decrease. Topic Z is not in the list.
  5. Staff user A returns to Latest, unread count increases again by 1.

Posts: 1

Participants: 1

Read full topic

Not possible quote text with emoticon in Firefox 57

Plaintext and / or raw emails for mailing list mode

$
0
0

@gwmngilfen wrote:

Hi all,

As my Google Groups migration gathers pace, a few users have suggested a couple of things that might make sense, and I wanted to see if I missed an option for these, or if perhaps patches would be welcome…

Firstly, the emails sent out are of course HTML + text, but the plaintext version is actually just the markdown that was written. This makes quotes and inline images both appear a bit weird:

[quote="Gwmngilfen, post:36, topic:7472, full:true"]
blah blah
[/quote]
![image|677x500](upload://ked5br4s5WmtG5wWf8O7a7dmev6.png)

It would be great if we could do some kind of HTML-to-plaintext render before sending it out, so that we get something more like:

> blah blah
https://mydiscourseorg/uploads/default/optimized/1X/8dc6b8e02d074eb09ab3017561ef6c2fda5b9c00=_1_677x500.png

Perhaps as a user-level setting?

Another request they had was about the reply quoting - Discourse trims most quoted material when it receives a mail, and that’s understandable for the UI. But since we store the raw email that came in (visible via the :e-mail: icon), is there any reason not to send that raw mail back out again? It feels like it would satisfy many mailing list mode users, but I’m probably missing a reason :wink:. Again, this could potentially be a user setting, I think.

Thoughts on either of these? I’m willing to attempt patches if they’re of interest… might need some hand holding though :slight_smile:

Posts: 1

Participants: 1

Read full topic

Howto install Discouse @ Vultr and import from Kunena3

$
0
0

@frold wrote:

This guide shows how I was able to setup discourse and import 10.000+ users and 38.000+ post from kunena. I was running an outdated Joomla! 2.5.28 version with kunena 3.0.8 on top and it was hacked. Therefore I was looking for a new solution for my site. I knew discourse from another forum I use as a visitor, not as an owner. For me, without other skills than basic SSH and unix skills, I found it very hard to install and import. I’m a medical doctor, a GP, not a programmer… I have spent a week of my spare time of trial and error as I knew nothing about docker at all. I still don’t, but it seems like my board is running now :slight_smile: !

First I did setup a new server at vult.com I chose the 5dollars 1 cpu, 1gb memory, 25gb ssd solution. I did choose Ubuntu 17.10 x64 (64 bit OS) as the OS

I made a local SSH key and added it to the server during the setup.

Then I connected to my new server

ssh root@serverip

First I did get the latest Ubuntu updates for the version

sudo apt-get update
sudo apt-get upgrade

Then I installed docker
I did use this guide to install docker: discourse/INSTALL-cloud.md at master · discourse/discourse · GitHub

wget -qO- https://get.docker.com/ | sh

Then the install of discourse

sudo -s
mkdir /var/discourse
git clone GitHub - discourse/discourse_docker: A Docker image for Discourse /var/discourse
cd /var/discourse

And then run the setup. I use elasticemail as a smtp host.

./discourse-setup

Discourse settings
In Admin >> Settings change the following settings.
download remote images to local : enable
download remote images max days old: 10000
slug_generation_method: ascii
disable edit notifications: enable

After I have finished my setup via the email activation I got my vanilla board up running. :slight_smile:
It was time for a reboot

reboot

Now the database fun
Now to the hard part.

Entering the docker container called app. And that was a step I missed in the beginning. You have to enter the container to see the import scripts, oooh. Newbie I am.

cd /var/discourse
./launcher enter app

First it have to be up to date

sudo apt-get update
sudo apt-get upgrade

Let us install the software needed in the container

sudo apt-get install mariadb-server libmysqlclient-dev nano

Test if mysql is available

mysql

If you get this error ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “No such file or directory”)
Run this tutorial: [SOLVED] Can’t connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock | Zyxware Technologies After this is done try the mysql command again. If it works you are ready for the next step.

sudo gem install mysql2
echo “gem ‘mysql2’, require: false” >> /var/www/discourse/Gemfile
cd /var/www/discourse
su discourse -c ‘bundle install --no-deployment --without test --without development’

And you get a error like this:_ sudo: no tty present and no askpass program specified_
Now run:

bundle install

Now connecting to the database

mysql -u root -p

CREATE USER ‘kunena’@‘localhost’ IDENTIFIED BY ‘kunena’;
CREATE DATABASE kunena;
GRANT ALL PRIVILEGES ON kunena . * TO ‘kunena’@‘localhost’;
FLUSH PRIVILEGES;
Exit

To ensure that the database is created login to the database with the new user: kunena and password kunena:

mysql -u kunena -pkunena

If you want to show the table status

show table status from kunena;

If you want to see the databases the user kunena got access to

show databases;

Now import the old Joomla/kunena database
First I did clean up my old forum. I did ensure I only had a 1 level structure (so NO subforms).

Forum 1 Forum 2 ….
I had to rename the tabels prefix to “jos_” even then the script let you edit the prefix - but I was getting some error.
I did export using phpmyadmin and did exported kunena and standart Joomla tables only.

Upload file to server
Upload your file to root in your server using the password you find in the vult server manager and port 22

Restart your shell to connect to your servers root and not being inside your docker app.
To be able to to see the file in the app directory you have to copy the file inside the app dir.

docker cp databasefilename.sql app:/var/www/discourse/databasename.sql

Start the app container

cd /var/discourse
./launcher enter app
ls -ls

Do you see the file on the list of files? I hope so!

import the sql file into the new database
First you have to set the right owner of the file

chown discourse:discourse databasename.sql

Now import the sql file to the kunena database using the kunena user and password

mysql -ukunena -pkunena kunena < databasename.sql

Let us ensure the database isn’t empty. If you see rows it worked :slight_smile:

mysql -u kunena -pkunena
show table status from kunena;
exit

Edit the import script
We need nano to be able to edit files. If you didn’t install nano earlier, do it now

sudo apt-get install nano

Now we can edit the import script file

sudo nano script/import_scripts/kunena3.rb

export DB_HOST="localhost"
export DB_NAME="kunena"
export DB_USER="kunena"
export DB_PW="kunena"
export KUNENA_PREFIX=“jos_” # “iff_” sometimes
export IMAGE_PREFIX="http://URL/media/kunena/attachments"
export PARENT_FIELD=“parent_id”

Go to your old server and chmod 777 the “media/kunena/attachments” folder.

Back in your vultr server. And inside the app container we need the screen script to be installed before we run the import script. In my case it took 5 hours to run.

sudo apt-get install screen

Open Screen

screen

Brew some coffee and then In the screen window

su discourse -c ‘RAILS_ENV=production ruby script/import_scripts/kunena3.rb’

Then the show begins…

loading existing groups...
loading existing users...
loading existing categories...
loading existing posts...
loading existing topics...
fetching Joomla users data from mysql
fetching Kunena user data from mysql
creating users
        8 / 8 (100.0%)  %)
creating topics and posts
    38888 / 38888 (100.0%)  [196 items/min]
updating bumped_at on topics
updating last posted at on users
updating last seen at on users
Updating topic reply counts...
    10625 / 10623 (100.0%)  [8242 items/min]  .Updating first_post_created_at...
Updating user post_count...
Updating user topic_count...
updating featured topic users
    15723 / 15723 (100.0%)
updating featured topics in categories
       12 / 12 (100.0%)
updating user topic reply counts
    10623 / 10623 (100.0%)
resetting topic counters
    15723 / 15723 (100.0%)
Done (04h 27min 25sec)

When it is done you can remove the packages we don’t want to use… I hope this little guide will save you time!

Posts: 1

Participants: 1

Read full topic

Broken link to group in group mention

$
0
0

@thorbenegberts wrote:

Hi there!

When I’m writing a group mention and click on the group link with cmd pressed, to open the group page in a new window, the link seems to be broken:

I think it has to be /groups/ to work?

Hosted instance: forum.plentymarkets.com

Version: Discourse 1.9.0.beta14 - https://github.com/discourse/discourse version db68434db14682faa5b527ae862e399c859dbdd8

Posts: 1

Participants: 1

Read full topic

All Categories on main page

$
0
0

@ShadowPauler wrote:

How would I be able to put all Catagories on the main page instead of recent topics? I don’t exactly see how clearly from the first administrator post. Thank you! :smiley:

Posts: 8

Participants: 4

Read full topic


Error when setup bitnami discourse

Can't drag items in top menu

$
0
0

@pfaffman wrote:

I have an up-to-date instance and tried to drag top menu items around and can’t. I ended up deleting them all and inserting them in the order that I wanted them. I thought it might just be me, but it got reported again here:

Also reported here: All Categories on main page

So I’m thinking it’s a :bug:. (Discourse 1.9.0.beta14, Chrome on Linux).

Posts: 4

Participants: 3

Read full topic

Topic on top of categories page

Suggestion: "side topics"

$
0
0

@swfsql wrote:

Sometimes, some reply-tree have an expected structure. I think the reply-tree structure ‘concept’ is pretty obvious. Well, I guess it’d be great if some patterns were identified and the display reacted to this.

I think that by giving some examples will be sufficient to illustrate the feature:

You’re reading a topic, and then two or three persons start talking to each other. You read some of that, but you’re not really interested in what they are talking, but you keep ‘seeing’ their conversation. It’s like a cloud above stuff you’re actually interested.

So it would be great if you could easily identify that as a ‘conversation tree’, and then skip it entirely. Think of it as if the vertical scrollbar were really a tree-like scrollbar, and the client would know what branches you’ve read and so on. Its not that you would miss any content, just reorder it according to your personal interest.

So, let’s say you enter a topic and start reading the replies. There’s the master tree, where the topic itself starts, and then lot’s of branches. Small branches could be merged into a single branch for simplicity (a ‘leaf’ reply, or just a small total number of replies [from that particular sub-tree]). This is because there’s not point in considering that a full fledged sub-tree if you would need to actually read it in order to decide if that conversation is ‘probably interesting’ or not.

So, continuing, you enter this post, and you encounter an actual sub-tree. It’s a conversation that has lots of replies in that particular sub-tree. It even has it’s own name (like, “aspect blablabla of this subject”). By having names to conversation trees, you can decide even more efficiently if that conversation, for you, have a higher or lower priority. It’s not that only that branching is named, other sub-branchings could also be named.

Finally, you could, instead of looking at each reply, look at those branchings themselves, with their name tagging accordingly. Maybe, also some counter features, that represent ‘participation’ (such as the sum of all replies given on that sub-tree) or most active participants. You don’t even need to visualize everything at once: just a 2 or 3-level depth at first.

Finally2, not only seeing branching naming, but also consider an entire ‘sub-tree’ as something that can be named, that would pretty much summarize various named branching that are in that direction.

How would those names be given? maybe anyone, and then some voting. A box could show up, like letting you name that branch (maybe it’s not considered a branch yet, but it’s about to) or vote on previously suggested names (by other members). When there’s a clear winner, just keep it and discard others. The problem would be with higher level naming of the sub-trees. If a sub-branch appears, the system could identify names scores based on the branch where the vote were actually given. Not just the vote is information, the reading position when that vote were given is also information. So based on that, the system could identify names that captures both branches, and more specific names. So maybe higher level naming can also be quite automatic.


Well, idk if this s a repeated suggestion… and I suppose it’d be hard to implement. But I’d like it a lot! XD

Posts: 2

Participants: 2

Read full topic

Permalink normalizations won't accept a parenthesis

$
0
0

@pfaffman wrote:

There seems to be a new input box for permalink normalizations and when I type a ( nothing happens. I’ve reloaded the page, but that didn’t fix it. I tried another instance that’s a bit older and it still works fine.

Here’s what the new interace looks like:

Screenshot from 2017-11-17 16-12-27

I sort-of searched recent commits for “setting” and “permalink” and nothing jumped out.

Posts: 2

Participants: 2

Read full topic

Install docker discourse need RAM?, can use VPS 1GB RAM for docker discourse

Can't edit some of my old posts


Not Quite Pixel Perfect

$
0
0

@RobMeade wrote:

Hi,

I noticed a weird issue this evening/morning, our categories are no longer separated by a lovely straight line, instead there is a slight step.

Browsing to https://community.gamedev.tv/ you will be able to see several more on the other categories underneath.

I quickly came here to see if there was anything similar, and, briefly I spotted a similar issue on the thicker horizontal line under “Topic | Category | Users” etc… it stepped for the “Users” column. I wasn’t quick enough to take a screenshot and seems to have resolved itself.

…just reloaded the page and managed to catch it this time…

Any ideas - bit random I know, and I fully appreciate it isn’t a show stopper… although that 1px step is going to keep me awake tonight! :slight_smile:

(I dread to think how many Discourse staff / team members / other users are rolling their eyes right now and saying “Really…” - sorry!)


Update

On the “All Latest Topics” view, it seems to affect the rows which have the “o new” against the topic.

Posts: 2

Participants: 2

Read full topic

Trying to nest category inside another nested category screw up UI

$
0
0

@schungx wrote:

Repo:

  1. Pick a category
  2. Change its parent into a category that is already nested inside some other category
  3. You’ll get an error saying you’re not allowed to do this
  4. Escape out
  5. The UI seems to think that the category is successfully transferred under the new parent, although in reality it is not
  6. Can’t go into the category any more as the URL path will be incorrect
  7. Can only recover by refreshing entire page

Posts: 2

Participants: 1

Read full topic

Restoring from backup

$
0
0

@thomvil wrote:

Yesterday my discourse stopped working, after a user tried to post a message and failed.

I tried the usual

cd /var/discourse
git pull
./launcher rebuild app

It complained that i needed a newer Docker. So i upgraded with

wget -qO- https://get.docker.com/ | sh

My docker info is now:

Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 7
Server Version: 17.10.0-ce
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 12
 Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 0351df1c5a66838d0c392b4ac4cf9450de844e2d
init version: 949e6fa
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.4.0-79-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.953GiB
Name:
ID: JU2V:SOZZ:UZ3D:U7HB:SGQO:EX5V:HEHT:7CSO:A6YN:ILM6:L7QQ:XS7S
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
 127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support

Rebuilding now fails with a ScriptTerminatedError:


2017-11-17 20:12:11.625 UTC [916] discourse@discourse LOG:  duration: 139.534 ms  statement:               SELECT a.attname, format_type(a.atttypid, a.atttypmod),
	                     pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod,
	                     c.collname, col_description(a.attrelid, a.attnum) AS comment
	                FROM pg_attribute a
	                LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum
	                LEFT JOIN pg_type t ON a.atttypid = t.oid
	                LEFT JOIN pg_collation c ON a.attcollation = c.oid AND a.attcollation <> t.typcollation
	               WHERE a.attrelid = '"users"'::regclass
	                 AND a.attnum > 0 AND NOT a.attisdropped
	               ORDER BY a.attnum

I, [2017-11-17T20:13:27.161531 #883]  INFO -- : Writing /var/www/discourse/public/assets/vendor-057c8aaf728aa3bc264d5ff93a70e003efe4f4ecdc16ba0a02d452e6e3ef4402.js
rake aborted!
MiniRacer::ScriptTerminatedError: JavaScript was terminated (either by timeout or explicitly)
...
/usr/local/bin/bundle:23:in `load'
/usr/local/bin/bundle:23:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
I, [2017-11-17T20:13:59.947263 #13]  INFO -- : Purging temp files
Bundling assets

I, [2017-11-17T20:14:00.011489 #13]  INFO -- : Terminating async processes
I, [2017-11-17T20:14:00.018790 #13]  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.5/bin/postmaster -D /etc/postgresql/9.5/main pid: 42
I, [2017-11-17T20:14:00.023107 #13]  INFO -- : Sending TERM to exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid: 156
2017-11-17 20:14:00.037 UTC [42] LOG:  received fast shutdown request
156:signal-handler (1510949640) Received SIGTERM scheduling shutdown...
156:M 17 Nov 20:14:00.056 # User requested shutdown...
156:M 17 Nov 20:14:00.062 * Saving the final RDB snapshot before exiting.
2017-11-17 20:14:00.074 UTC [42] LOG:  aborting any active transactions
2017-11-17 20:14:00.076 UTC [49] LOG:  autovacuum launcher shutting down
2017-11-17 20:14:00.274 UTC [46] LOG:  shutting down
2017-11-17 20:14:00.506 UTC [46] LOG:  database system is shut down
I, [2017-11-17T20:14:10.057693 #13]  INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid:156 did not terminate cleanly, forcing termination!

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 881 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
9ed892bf5e6fb2308d24e32c0550216abed9c79f887a5dab2fea08b65e3eb5bb
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Entire log available as gist

From that error, i assume there is a problem with the post that caused the initial failure.

(Or did i mess up something with docker?)

I am not able to enter with ./launcher enter app. Is there a way to restore from the latest backup i find in /var/discourse/shared/standalone/backups?

Thank you for any help.

Posts: 2

Participants: 2

Read full topic

Trying to find some problem posts reported by Sidekiq

$
0
0

@Costas wrote:

Sidekiq reports:

in 5 hours	12	low	Jobs::PullHotlinkedImages
{"post_id"=>163, "bypass_bump"=>false, "current_site_id"=>"default"}
Jobs::HandledExceptionWrapper: Wrapped ActiveRecord::RecordInvalid: Validation failed: Body is too short (minimum is 5 characters), Body seems unclear, is it a complete sentence?
	in 17 hours	16	low	Jobs::PullHotlinkedImages
{"post_id"=>93, "bypass_bump"=>false, "current_site_id"=>"default"}
Jobs::HandledExceptionWrapper: Wrapped ActiveRecord::RecordInvalid: Validation failed: Body is too short (minimum is 5 characters), Body seems unclear, is it a complete sentence?

I have searched all over Discourse for a way to locate post id’s 93 and 163 but drawn a blank.

Anyone know how I find these two posts?

Posts: 11

Participants: 2

Read full topic

Upload images doesnt work

Viewing all 60599 articles
Browse latest View live




Latest Images