pdsinterop / solid-nextcloud

A plugin to make Nextcloud compatible with Solid
https://pdsinterop.org/solid-nextcloud/
MIT License
72 stars 11 forks source link

🚨 Read for issues when installed from Nextcloud App Store 💁 #66

Closed Potherca closed 1 year ago

Potherca commented 2 years ago

If you are reading this you probably ran into some issues when trying to get things up and running.

First of all, thank you for trying out the Solid-Nextcloud plugin!

Next, we owe you an apology: In moving to the app store, there was an oversight which causes the plugin to not work.

The major problem is that the third-party dependencies are currently not added to the release. Because of this, things just don't work. This is because the process has not yet been automated, and the step is sometimes missing from the manual process.

At the time of this writing, the workaround is to download composer and run composer install manually. 😞

Short Term Workaround

# Go to the directory where the plugin has been installed
cd /var/www/nextcloud/apps/solid

# Grab composer.phar
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '906a84df04cea2aa72f40b5f787e49f22d4c2f19492ac310e8cba5b96ac8b64115ac402c8cd292b8a03482574915d1a8') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

# Install dependencies
php composer.phar install

Permanent Fix

Once the package release has been automated (#64) a step to add the vendor directory can be added (#65) assuring this problem does not arise again.

Until this has been resolved, this issue should be pinned, to draw attention to it.

I would like to thank @aakerbeere for bringin this problem to our attention.

f4grx commented 1 year ago

Hello, your composer instructions are not up to date, see here for updates:

https://getcomposer.org/download/

any updates on this plugin ? Thanks!

Potherca commented 1 year ago

Hi @f4grx! In upcoming changes[^1] composer (and instructions) should all be removed. The plugin install should "just work" with no other / manual steps needed.

As far as updates go, work is underway to support the latest Nextcloud release (NC25). For progress, read along in #110.

[^1]: mostly to do with build & deploy automation

Potherca commented 1 year ago

Unpinning this, as this should no longer be an issue. This ticket is only here as a reminder until everything is proven to be resolved.

Potherca commented 1 year ago

Closing this in favor of #64 and #65, and #94.

slorquet commented 1 year ago

Hi, I'll have a try, thanks!