Fresh install "sharing not allowed"

Support intro

Nextcloud version : 14.0.3
Operating system and version : CentOS 6 or RedHat (3.10.0-693.11.6.1.ELK.el6.x86_64)
Apache or nginx version: Apache/2.2.34
PHP version: PHP 7.0.31

The issue you are facing:
I cannot share a single file. “Sharing is not allowed appears greyed out”
Additionally it seems that the sharing settings cannot get changed or saved… any change I make is reverted

Is this the first time you’ve seen this error? : Y (on fresh install), I noticed that PDF Viewer was strange so I deactivated it too

Steps to replicate it:

  1. select any file
  2. click share
  3. See greyed out box
  4. goto admin> share
  5. change something
    6 switch submenu in admin
    7 switch to share, original values appear

The output of your Nextcloud log in Admin > Logging:

no log available

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => 'ocgd9ov267hz',
  'passwordsalt' => 'myPWSalt',
  'secret' => 'myVeryPersonalSecret',
  'trusted_domains' => 
  array (
    0 => 'localhost',
   ....
  ),
  'datadirectory' => '/home2/user/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '14.0.3.0',
  'overwrite.cli.url' => 'http://uri',
  'dbname' => 'dbname',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'myuser',
  'dbpassword' => 'mypass',
  'installed' => true,
  "log_type" => "owncloud",
  "logfile" => "nextcloud.log",
  "loglevel" => "3",
  "logdateformat" => "F d, Y H:i:s",
);

The output of your Apache/nginx/system log in /var/log/____:

no nextcloud relted entry

I though saw a javascript error in the console