Closed jorge-vitrubio closed 1 year ago
UPDATE: if I try to do a clean install also fails, it looks like it has some pending/hanging apps
yunohost app install synapse
Choose the domain where this app should be installed [domain.tdl | matrix.domain.tdl]: matrix.domain.tdl
If your Synapse domain is a subdomain, you can choose a name for your Synapse server to have your Matrix user-ids looking like @user:domain.org instead of @user:synapse.domain.org: domain.tdl
Is it a server with free registration? [yes | no]: no
Jitsi server address for conferencing?: jitsi.riot.im
Info: Installing synapse...
Info: The operation 'Install the 'synapse' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20230616-110707-app_install-synapse' to get help
Error: Permission 'synapse.main' already exists
this is the yunohost log share
args:
app: synapse
force: false
label: null
no_remove_on_failure: false
ended_at: 2023-06-16 11:07:07.327064
error: Permission 'synapse.main' already exists
interface: cli
operation: app_install
parent: null
related_to:
- - app
- synapse
started_at: 2023-06-16 11:07:07.291142
success: false
yunohost_version: 11.1.21.4
============
2023-06-16 13:07:07,309: INFO - Installing synapse...
then again, it seems that @SIM have already run into this issue and was solved as he explains here:
it is about hanging permissions.
so to solve i did:
yunohost app remove synapse
as it did have errors installingyunohost tools shell -c "from yunohost.permission import permission_delete; permission_delete('synapse.main', force=True)"
yunohost tools shell -c "from yunohost.permission import permission_delete; permission_delete('synapse.server_api', force=True)"
yunohost tools shell -c "from yunohost.permission import permission_delete; permission_delete('synapse.server_client_infos', force=True)"
yunohost backup restore synapse-pre-upgrade1
having installed and running synapse 1.84.1 i was proposed with upgrade to 1.85.
i did apply
yunohost tools upgrade apps
but the upgrade went wrong.No I can not restore from backup
yunohost backup restore synapse-pre-upgrade1
throws this errorsseems it is stucked with previous install or something, I do not know howto proceed.