Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not install #1505

Open
FadeFx opened this issue Oct 29, 2022 · 15 comments
Open

can not install #1505

FadeFx opened this issue Oct 29, 2022 · 15 comments

Comments

@FadeFx
Copy link

FadeFx commented Oct 29, 2022

Hi, am trying to download and install this in NC 24.0.5
i get a message that an error occured and the app can not be installed and in the NC Logs i see this:


{"reqId":"Y1y7pGAdsbNRo9qYxHCBCwAADgg","level":3,"time":"2022-10-29T05:37:05+00:00","remoteAddr":"10.x.x.x","user":"Gxxx","app":"index","method":"POST","url":"/settings/apps/enable","message":"Argument 3 passed to OC\\DB\\QueryBuilder\\QueryBuilder::__construct() must implement interface Psr\\Log\\LoggerInterface, instance of OC\\AppFramework\\Logger given, called in /var/www/nextcloud/apps/social/lib/Db/SocialCoreQueryBuilder.php on line 65 in file '/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 86","userAgent":"Mozilla/5.0 (Linux; Android 12; Nokia 5.4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36","version":"24.0.5.1","exception":{"Exception":"Exception","Message":"Argument 3 passed to OC\\DB\\QueryBuilder\\QueryBuilder::__construct() must implement interface Psr\\Log\\LoggerInterface, instance of OC\\AppFramework\\Logger given, called in /var/www/nextcloud/apps/social/lib/Db/SocialCoreQueryBuilder.php on line 65 in file '/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php' line 86","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1030,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":165,"Previous":{"Exception":"TypeError","Message":"Argument 3 passed to OC\\DB\\QueryBuilder\\QueryBuilder::__construct() must implement interface Psr\\Log\\LoggerInterface, instance of OC\\AppFramework\\Logger given, called in /var/www/nextcloud/apps/social/lib/Db/SocialCoreQueryBuilder.php on line 65","Code":0,"Trace":[{"file":"/var/www/nextcloud/apps/social/lib/Db/SocialCoreQueryBuilder.php","line":65,"function":"__construct","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Db/CoreRequestBuilder.php","line":154,"function":"__construct","class":"OCA\\Social\\Db\\SocialCoreQueryBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Db/ActorsRequestBuilder.php","line":76,"function":"getQueryBuilder","class":"OCA\\Social\\Db\\CoreRequestBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Db/ActorsRequest.php","line":169,"function":"getActorsSelectSql","class":"OCA\\Social\\Db\\ActorsRequestBuilder","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Service/AccountService.php","line":197,"function":"getFromUserId","class":"OCA\\Social\\Db\\ActorsRequest","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Service/CheckService.php","line":258,"function":"getActorFromUserId","class":"OCA\\Social\\Service\\AccountService","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Service/CheckService.php","line":217,"function":"checkLocalAccountFollowingItself","class":"OCA\\Social\\Service\\CheckService","type":"->"},{"file":"/var/www/nextcloud/apps/social/lib/Migration/CheckInstallation.php","line":76,"function":"checkInstallationStatus","class":"OCA\\Social\\Service\\CheckService","type":"->"},{"file":"/var/www/nextcloud/lib/private/Repair.php","line":125,"function":"run","class":"OCA\\Social\\Migration\\CheckInstallation","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":1082,"function":"run","class":"OC\\Repair","type":"->"},{"file":"/var/www/nextcloud/lib/private/Installer.php","line":157,"function":"executeRepairSteps","class":"OC_App","type":"::"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":451,"function":"installApp","class":"OC\\Installer","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"enableApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1030,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","Line":86},"CustomMessage":"--"},"id":"635cd11d5b1cc"}

i am running NC via NextcloudPi on a RaspberryPi 4 4gig with PHP8.0 if that is relevant

NextCloudPi version v1.50.3
NextCloudPi image NextCloudPi_06-09-22
OS Debian GNU/Linux 11
   
�[9;0]. 5.15.61-v8+ (aarch64)  
automount yes
USB devices sda
datadir /media/myCloudDrive/ncdata
data in SD no
data filesystem btrfs
data disk usage 1.3T/1.9T
rootfs usage 6.9G/15G
swapfile /var/swap
dbdir /media/USBdrive/ncdatabase
Nextcloud check ok
Nextcloud version 24.0.5.1
HTTPD service up
PHP service up
MariaDB service up
Redis service up
HPB service up
Postfix service up
Internet check ok
public IPv4 178.xxx.xxx.xxx
public IPv6 not found
Port check 80 closed
Port check 443 closed
IP 10.x.x.x
gateway 10.x.x.x
Interface eth0
certificates nextcloud.domain.tld
NAT loopback yes
Uptime 19days
@TwizzyDizzy
Copy link

TwizzyDizzy commented Oct 29, 2022

Simple answer: the latest released version 0.4.2 simply does not support Nextcloud >= 21. Also wanted to have a look due to a recent press article, but it seems that the article was simply an indecent plug to push Nextcloud (Social) due to the recent Twitter developments.

That being said, though, it seems you might have more luck if you install from master manually, as it has at least the NC dependency upgraded to 25: https://github.com/nextcloud/social/blob/master/appinfo/info.xml#L38

Cheers
Thomas

@daffydock
Copy link

Simple answer: the latest released version 0.4.2 simply does not support Nextcloud >= 21. Also wanted to have a look due to a recent press article, but it seems that the article was simply an indecent plug to push Nextcloud (Social) due to the recent Twitter developments.

That being said, though, it seems you might have more luck if you install from master manually, as it has at least the NC dependency upgraded to 25: https://github.com/nextcloud/social/blob/master/appinfo/info.xml#L38

Cheers Thomas

Yeah, it looks like a total plug. I mean there are reviews on the app store stating the app seemed abandoned that go back over a year and 7 months. I guess there is no better PR than someone else's Public Relations that you can leverage to your advantage.

It seems to have gotten the Devs to suddenly move though, just checked the apps store and ver 5.0 is now available download. Still a Beta, though.

@JochenFriedrich
Copy link

JochenFriedrich commented Nov 3, 2022

Unfortunately, 5.0 beta is uninstallable, as well due to a missing vendor directory tree.

Failed opening required '/var/www/html/custom_apps/social/lib/AppInfo/../../vendor/autoload.php'

@daffydock
Copy link

Unfortunately, 5.0 beta is uninstallable, as well due to a missing vendor directory tree.

Failed opening required '/var/www/html/custom_apps/social/lib/AppInfo/../../vendor/autoload.php'

You are quite correct. On my previous post, I had download the *.zip and manually placed it in the data folder. It went fine. I was due to enable it after I upgraded to NC 25.0.1 today. Which I just did, tried to enable it and it spewed two errors on the log, one of which is the one you quoted. It does not work. So much for that. 👎

@TheTimeWalker
Copy link

You can't just manually download the master ZIP and throw it in. You must follow the "Development setup" steps as defined in the README to build the app

@nagelp
Copy link

nagelp commented Nov 6, 2022

I followed the "development setup" instructions, but I'm also getting the problem with vendor/autoload.php.
I really like Nextcloud, and I'm thankful to everyone who put lots of work into it, trying to offer an alternative to the big cloud providers. That being said, you can't just put a "Trust in Musk or go federated with Nextcloud Social!" article out there, when the Social app doesn't currently work with the latest Nextcloud release, nor is it even possible for somehow tech-savvy users to try out the Alpha.

@miklobit
Copy link

miklobit commented Nov 6, 2022

You can't just manually download the master ZIP and throw it in. You must follow the "Development setup" steps as defined in the README to build the app

What are required software components/version to build development environment to build the app ?
Preferable under linux (native install or dockerfile/ image)...
Is posssible to add such an information in "Development setup" section ?

@TheTimeWalker
Copy link

The vendor warning as far as I understood is when your composer command didn't work correctly and the dependencies haven't been installed.

I was able to build and run the app using a very recent Arch installation with node v16 and composer installed. The only step that didn't exactly work was make-dev as I had to instead use the command composer install --prefer-dist --ignore-platform-req=ext-gd to ignore the dependency warning.

@ArtificialOwl
Copy link
Member

0.5.0-beta3 is available on appstore

@daffydock
Copy link

You can't just manually download the master ZIP and throw it in. You must follow the "Development setup" steps as defined in the README to build the app

That is not what I did. That is what you assume that I did.

Will check the new beta. See how it goes.

@zell-mbc
Copy link

I tried as well just now, did the git clone which should have given me the latest beta I presume.
When running make dev-setup it's been complaining about the lack of npm (which I installed) and then some composer php errors.

I gave up as I don't want to mess around to heavily, will wait for the next iterations to come along.

Judging by the increased noise I see from my Pleroma Instance, there's lots of new momentum, so better hurry up to catch some of it, for Nextcloud and also for the Fediverse :-)

@Casuallynoted
Copy link

Is there any chance that 0.6.0-beta1 will be available in the app store? I can't seem to install on NC25 because it's not available and wants to download 0.4.

@kiilo
Copy link

kiilo commented Mar 15, 2023

I agree ...

the Howto could be expanded

  1. HowTo build the beta app
  2. Howto poke it into a NC docker install
  3. additional OCC steps

@Casuallynoted
Copy link

It's hard not to get the impression that Social is a big afterthought for NC which makes me wonder why it's in the app store in the first place if that's the case. Might be better as a dev app and only be put on the app store when/if it's ready for primetime.

@jancborchardt
Copy link
Member

@ArtificialOwl @artonge should this not be fixed with the 26 release? Could you then either close the issue as resolved, or look into it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests