Snapcraft 4.0.4 was just released to stable, and now Nextcloud is no longer building, as snapcraft can no longer find the local plugins that have been working for years:
Failed to load plugin: unknown plugin: ‘apache’
My CI is busted. What changed regarding local plugins?
Do your plugin names and plugin filenames also differ like for the reporter? We are fixing that issue, but if yours is different we would need to know about it.
OK, the fix is incoming, if you want to try on your side though, either changing the plugin entry to plugin: x-openresty OR the filename to just openresty.py should work.