Is there any public documentation for user and creation/update/delete API(s)? I'm looking to automate some user and group creation and updates and can only find some old forum posts.
darren
Posts
-
User & Group CRUD API(S) -
Incoming Email@girish looking in the loomio-deploy github, I think the container for inbound email is loomio-mailin. Seems like they're using mailin vs an external IMAP connection
-
Incoming Email@nebulon said in Loomio - Package Updates:
We've included the new "email to group" feature. This means as a member of a group, you can send or forward an email to your group email address and it will become a new thread in the group.
I'm trying to get incoming email to work. Right now, the log isn't showing any mailin errors but no inbound email functionality seems to be working.
I've added a and mx records to my DNS
A loomio.domain.com, cloudron_IP MX loomio.domain.com, loomio.domain.com, priority 0
I've also configured the reply-to hostname in env.sh
# reply-to in email notifications export REPLY_HOSTNAME=loomio.domain.com
And for good measure even changed the app's MAIL FROM address to originate from my desired subdomain (loomio.domain.com) so that we're not presenting multiple email hosts to end users.
What else might I need to do to get inbound email working?
-
Loomio Import@girish I just realized that the hourly cron loomio-deploy recommends [and that's already in the cloudron package] was failing. I think similarly because the db connection wasn't defined for
bundle exec rake loomio:hourly_tasks
How should I proceed? I can schedule my own cron but it seems like this might be something that should be updated in the base cloudron package for loomio?
-
stop wiki container in order to transfer databasethank you!
-
stop wiki container in order to transfer databaseIs there a way for me to stop the wiki container? I'd like to migrate a full database from another WikiJS server and the instructions suggest it's best to stop the wiki container before doing db manipulation.
-
Loomio Import@jdaviescoates yes that's the case. I was able to import a large group from hosted Loomio into self-hosted Loomio on Cloudron. The import seems stable so far.
-
Loomio ImportPerfect! Thanks again @girish I'm in now
-
Loomio ImportThanks @girish! This is helpful. Apologize if I'm missing something... I'm still encountering an error when I try to start the rail console in the web terminal following setting those environment variables:
`validate_secret_key_base': Missing `secret_key_base` for 'production' environment, set this string with `bin/rails credentials:edit`
Do I need to set something else?
-
Loomio ImportI'm trying to import Loomio data to a new Cloudron instance and I can't for the life of me figure out how to access the running Rails console as suggested in Loomio's documentation:
Access the running Rails console:
docker exec -ti loomio-app rails console
Call the service:
GroupExportService.import('/import/your-group-data.json')
Running the following in the terminal:
rails console
Produces:
/usr/local/lib/ruby/gems/3.2.0/gems/activerecord-7.0.7.2/lib/active_record/connection_adapters/abstract/connection_handler.rb:261:in `resolve_pool_config': database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)
Does anyone have a method for being able to import a Loomio export?