Possible to make this Discourse Events plugin work on Cloudron?
-
@girish said in Possible to make this Discourse Events plugin work on Cloudron?:
Ah , good catch . Looks like this
.local
has to be symlinked . Missed this in our base image, grr.That sounds positive in that once you symlink
.local
I guess this plugin should probably work too, right? -
@jdaviescoates yes, atleast I can install it after symlinking local. I have fixed the base image already. Tests are running now for the new package.
-
@girish said in Possible to make this Discourse Events plugin work on Cloudron?:
there is a slight change in instruction in the docs (chown -R)
Thanks for the heads up.
I think:
chown -R cloudron:cloudron <plugin-repo>
Could be clearer somehow.
I initially tried:
chown -R cloudron:cloudron https://github.com/paviliondev/discourse-events
But I think what I was supposed to do was:
chown -R cloudron:cloudron discourse-events/
Then, when I got to:
gosu cloudron:cloudron bundle exec install_all_gems
I just got this error:
root@:/app/code# gosu cloudron:cloudron bundle exec install_all_gems bundler: command not found: install_all_gems Install missing gem executables with `bundle install`
-
@jdaviescoates you need to be in /app/data remember!?
-
@robi said in Possible to make this Discourse Events plugin work on Cloudron?:
@jdaviescoates you need to be in /app/data remember!?
The previous step in the docs:
cd /app/code
-
@jdaviescoates said in Possible to make this Discourse Events plugin work on Cloudron?:
gosu cloudron:cloudron bundle exec install_all_gems
I think this one is
gosu cloudron:cloudron bundle exec rake plugin:install_all_gems
! -
@girish said in Possible to make this Discourse Events plugin work on Cloudron?:
I think this one is gosu cloudron:cloudron bundle exec rake plugin:install_all_gems !
That seemed to do the job, I think, maybe.
The plugin seems to have installed:
But when I try to click on Events as shown above (and which links to https://bridport.events/admin/events ) I get this:
️ Error loading route
Caused by plugin 'discourse-events-e0079339aeef4bbe41336a3766e010483478c7374fcb7d7e0574c835848c6e01'
(this message is only shown to site administrators)I also note that when running e.g.
gosu cloudron:cloudron bundle exec rake posts:rebake
I get:fatal: not a git repository (or any of the parent directories): .git
I got that a few times during the install process too.