I was trying to deploy the nextcloud charm using those instructions, but couldnât manage to make it work.
I changed the deploy commands a little bit (due to the changes in the PG charm channels and that the nextcloud charm is available only on the edge channel):
unit-nextcloud-0: 13:05:24 ERROR unit.nextcloud/0.juju-log Uncaught exception while in charm code:
Traceback (most recent call last):
File "./src/charm.py", line 596, in <module>
main(NextcloudCharm)
File "/var/lib/juju/agents/unit-nextcloud-0/charm/venv/ops/main.py", line 434, in main
framework.reemit()
File "/var/lib/juju/agents/unit-nextcloud-0/charm/venv/ops/framework.py", line 840, in reemit
self._reemit()
File "/var/lib/juju/agents/unit-nextcloud-0/charm/venv/ops/framework.py", line 919, in _reemit
custom_handler(event)
File "./src/charm.py", line 291, in _on_start
self._on_update_status(event)
File "./src/charm.py", line 455, in _on_update_status
self._checkLogConfigDiff()
File "./src/charm.py", line 589, in _checkLogConfigDiff
if cluster_rel.data[self.app]['nextcloud_config'] == str(nextcloud_config):
File "/var/lib/juju/agents/unit-nextcloud-0/charm/venv/ops/model.py", line 1493, in __getitem__
return super().__getitem__(key)
File "/var/lib/juju/agents/unit-nextcloud-0/charm/venv/ops/model.py", line 695, in __getitem__
return self._data[key]
KeyError: 'nextcloud_config'
unit-nextcloud-0: 13:05:24 ERROR juju.worker.uniter.operation hook "update-status" (via hook dispatching script: dispatch) failed: exit status 1
If you like to help, just let me know and Iâll also add you to the github repo.
There is some work needed to get the charm more stable and remove some unused code etc. Any help on the charm is welcome.
Iâll help you resolve the issue you have if you run into more problems and I can also show you how to integrate with needed charms - redis and haproxy which can be somewhat tricky.
Thanx for pointing this out. Iâm currently testing a new version of the charm and I have updated the documentation to reflect your comments. Thanx for this!
The latest version of the charm should work with nextcloud 29 which to date is the latest stable.
UPDATE: A new edge on revision 26 now out, feel free to test it