discourse

Using OVH S3 Object Storage on Discourse that using Docker in Centos 7

Using OVH S3 Object Storage on Discourse Deployed with Docker in CentOS 7 In this tutorial, we will guide you on how to effectively use OVH’s S3 Object Storage with Discourse deployed on Docker in CentOS 7. Using cloud-based storage, like OVH S3, is an effective way of managing, storing, and retrieving your Discourse data. It’s also a highly secure and scalable solution, making it suitable for applications of all sizes. Setting Up OVH S3 Object Storage First, you’ll need to create a container in[…]

Using OVH S3 Object Storage on Discourse that using Docker in Centos 7 Read More »

Restore Discourse from Terminal

Restore discourse from terminal Preparing copy the backup file to from old host /var/discourse/shared/standalone/backups/default to new host /var/discourse/shared/standalone/backups/default Restore cd /var/discourse ./launcher enter app discourse enable_restore discourse restore juzhax-com-2021-03-21-043426-v20210315173137.tar.gz Rebuild cd /var/discourse ./launcher rebuild app

Restore Discourse from Terminal Read More »

Running two discourse in one server

I’m going to duplicate from /var/discourse to /var/discourse2 and make it run both discourse docker together in a server. Preparing sudo -s git clone https://github.com/discourse/discourse_docker.git /var/discourse2 cd /var/discourse2 Transfer Create a directory for the second discourse mkdir -p /var/discourse2/shared/standalone/backups/default cp /var/discourse/container/app.yml /var/discourse/container/app2.yml Modify App2.yml expose: # – “80:80” # http – – Remember to change the port # – “443[…]

Running two discourse in one server Read More »

ERROR: current transaction is aborted, commands ignored until end of transaction block (PG::InFailedSqlTransaction)

I’m trying to insert new row by using the import function from discourse, create_categories. It throw me this error. What cause this error appear ? I’m using this way to restore the docker data for keep testing on importing Full error message from console Solution In many cases, it should be corrupted in PostgreSQL database,

ERROR: current transaction is aborted, commands ignored until end of transaction block (PG::InFailedSqlTransaction) Read More »