Since October CMS support forum is read-only, asking my question there.
Can't rollback version from admin panel - the exception is
"file_put_contents(/var/www/www-root/data/www/foo/plugins/agm/bar/updates/version.yaml): failed to open stream: Permission denied" on line 122 of /var/www/www-root/data/www/foo/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php
I have no idea of what kind of permissions needed. Any ideas would be appreciated. Thanks in advance.
UPD: After setting a proper permission, new error
Migration file builder_table_update_agm_foo_events.php already exists. Please use another class name."
popping while trying to rollback.