social icon indicating copy to clipboard operation
social copied to clipboard

Support for Nextcloud 29 & 30

Open NatoBoram opened this issue 1 year ago • 5 comments

A tracking issue for people who want to be notified when this will be updated.

NatoBoram avatar Jun 26 '24 04:06 NatoBoram

I need that as well. I have social configured at NC 30 and it simply does not work. When I click on profile it spins like forever and I cannot find my instance at any fediverse platform. My nextcloud runs under https://www.mydomain.com/nextcloud apache2 ubuntu LTS x64 Social I tried was latest release and build directly from git (0.8.0)

GVLLIFESTYLE avatar Sep 19 '24 04:09 GVLLIFESTYLE

The not being able to view profiles is already filed as #1883 and an issue since NC 28.

paulvt avatar Sep 21 '24 16:09 paulvt

Still another issue: I cannot find my instance at any fediverse platform at all. And I cannot really interact with other fediverse platforms from social without any issues. Maybe its related to the fact that my nextcloud is under /nextcloud/...

GVLLIFESTYLE avatar Sep 23 '24 06:09 GVLLIFESTYLE

Crash in webfinger request

{
  "reqId": "IhilB622InmPCwv23SD0",
  "level": 4,
  "time": "2024-09-24T13:07:15+00:00",
  "remoteAddr": "192.168.7.117",
  "user": "--",
  "app": "social",
  "method": "GET",
  "url": "/apps/logreader/api/poll?lastReqId=RkpiDP9XvTgAf96Sv9l7",
  "message": "Error during app service registration: Call to undefined method OC\\Server::getEventDispatcher()",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",
  "version": "30.0.0.14",
  "exception": {
    "Exception": "Error",
    "Message": "Call to undefined method OC\\Server::getEventDispatcher()",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/social/lib/AppInfo/Application.php",
        "line": 71,
        "function": "registerDeprecatedListener",
        "class": "OCA\\Social\\AppInfo\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
        "line": 99,
        "function": "register",
        "class": "OCA\\Social\\AppInfo\\Application",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php",
        "line": 48,
        "function": "registerApps",
        "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 657,
        "function": "runInitialRegistration",
        "class": "OC\\AppFramework\\Bootstrap\\Coordinator",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1132,
        "function": "init",
        "class": "OC",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 22,
        "args": [
          "/var/www/nextcloud/lib/base.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/apps/social/lib/AppInfo/Application.php",
    "Line": 82,
    "message": "Error during app service registration: Call to undefined method OC\\Server::getEventDispatcher()",
    "exception": [],
    "CustomMessage": "Error during app service registration: Call to undefined method OC\\Server::getEventDispatcher()"
  },
  "id": "66f2b98370f2a"
}

noci2012 avatar Sep 24 '24 13:09 noci2012

Is this planed, for when?

GVLLIFESTYLE avatar Oct 16 '24 11:10 GVLLIFESTYLE

referring to the app-page on apps.nextcloud.com there's a version (0.7.0) available fpr NC 29 and NC30. look here: https://apps.nextcloud.com/apps/social/releases?platform=30#30

And yes, you can install it. But at least with my server (NC 29.0.8./AIO) it throws the wellknown "webfinger misconf"-error

JimmyKater avatar Nov 05 '24 10:11 JimmyKater

referring to the app-page on apps.nextcloud.com there's a version (0.7.0) available fpr NC 29 and NC30. look here: https://apps.nextcloud.com/apps/social/releases?platform=30#30

And yes, you can install it. But at least with my server (NC 29.0.8./AIO) it throws the wellknown "webfinger misconf"-error

This is issue #1888. I also have the error, but I do get new messages for the people/organisations I follow. So it is somewhat functional. The "cannot show profile" issue is also still there (see issue #1883).

paulvt avatar Nov 05 '24 10:11 paulvt

@paulvt I know.

but I think 'there's a version (0.7.0) available for NC 29 and NC30.' would solve this thread, though

JimmyKater avatar Nov 05 '24 10:11 JimmyKater

It is available, but still fails to work as advertised. (it is choking on missing database tables).

DbalException An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_social_actor' doesn't exist

Both after upgrade and removal and reinstall, just opening the app).

noci2012 avatar Nov 10 '24 21:11 noci2012

Fixed in 20d668e (released as 0.7.0 for v29 and v30). Includes a fix for:

Call to undefined method OC\\Server::getEventDispatcher() (which is covered in #1864)

The other matters are covered elsewhere.

The Exception parse_str(): Argument #1 ($string) must be of type string, null given in file '/opt/nextcloud/apps/social/lib/WellKnown/WebfingerHandler.php matter is covered in #1888. Commented further on that matter there.

The webfinger is misconfigured matter is a mixture of social not handling missing required parameters correctly (basically #1888) and the an interaction with the setup checks in server which are designed for a stock install w/o social (based on a cursory look; will need a closer look to be certain).

@noci2012 Your db error is unrelated to any of this. That table has existed since 2022 so no idea why you don't have it. No one else has reported a similar problem. Wild guess: you had some of those old social_3 tables (see #1871) and maybe accidentally dropped the real tables? May want to post on the help forum: https://help.nextcloud.com about that.

joshtrichards avatar Nov 21 '24 18:11 joshtrichards

wrt. db tables...

I installed a fresh NEW nextcloud, without tables & social installed social... then there are still no tables. none at all. neither old nor new ones.

BEFORE attempting to install remove all items in the db table that tracks what is installed. Appearantly there is a defect in the cleanup of applications that it doesn't clean the history of old upgrades (went back to NC 18 in this case for others even older) when removing an application. ==> no upgrades on tables etc.

After this Social still doesn't work... at least the tables got created.

noci2012 avatar Jan 09 '25 12:01 noci2012