Skip to content

berlindiamonds/discourse-sync-to-nextcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discourse Sync to Nextcloud ☁️

A Plugin for Discourse that does a backup to your Nextcloud account

  1. Make sure you have the latest version of Discourse set up properly
  2. Install the basic-sync-plugin first
  3. Clone this repository into your discourse/plugins folder
  4. In the browser go to your Admin Settings and then to Plugins. You should see the discourse-sync-to-nextcloud appearing there

alt text

  1. Click in Settings and enable the plugin. Choose the quantity of backups you want to synchronize.

alt text

  1. Pick a Nextcloud provider and sign up for an account. You can also install your own Nextcloud server.

  2. In your discourse-sync-to-nextcloud/config/initializers folder create a new file called ocman.rb with the following code:

Ocman.configure do |config|
  config.base_url = 'https://put your provider url here.org'
  config.user_name = 'you username for the provider'
  config.password = 'your password'
## Optional: (When nextcloud wasn't installed on website root.)
#  config.dav_base_uri = '/path/to/nextcloud-root/remote.php/webdav/'
end

and fill it out with your new credentials for the provider. Make sure you don't publish this file anywhere (eg. have it in the gitignore).

  1. In your Discourse settings click on backup and make sure you have enough storage space.

This plugin was created by Jen and Kaja, in analogy to the discourse-sync-to-dropbox plugin from Falco

For help please go to Discourse Meta

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages