How to change Social URL in Social App

When i install social (or do a reset) I am asked for the base url of my server. I am using

When I run the app it properly creates the user as

However, If i try to send a message to my server on Mastodon, I see that it’s trying to use the localhost url from the Mastodon error message:

When I use the OCC command to check the install It’s clear that it’s using localhost for the server URL

“cloud_url”: “”,
“social_url”: “http://localhost/nextcloud/index.php/apps/social/”,
“social_address”: “”,
“service”: 1,
“max_size”: 10,
“access_type”: “all_but”,
“access_list”: “[]”

In this case, shouldn’t the social url use the address? Can someone please help me to understand this?

Adding Config.php (without sensitive data)

$CONFIG = array (
  'trusted_domains' => 
  array (
    0 => '',
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '',
  'overwrite.cli.url' => 'http://localhost/nextcloud',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,

  'installed' => true,
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'app_install_overwrite' => 
  array (
    0 => 'social',
    1 => 'dashboard',
    2 => 'occweb',
    3 => 'issuetemplate',


I have updated the overwrite.clu.url with the actually URLand it has had no affect on the problem. When I check install with OCC I still get the same social URL as above


figured out how to change the social url:

sudo -u www-data php ./occ config:app:set --value “” social social_url

which results in:

This allowed me to send a toot from but it was never received by social :frowning:

I have the same problem. Using the occ config:app:set ... command lets me send messages from, but I can’t follow anyone (local or federated) or see toots from any federated account.

1 Like