I coudn't open two url

https://cloud.joelmueller.ch/settings/apps
https://cloud.joelmueller.ch/settings/admin/serverinfo

otherwise a can browse without in the UI

[root@nas apps]# ls -la
total 192
drwsrws--- 48 http http 4096 Jan 23 17:25 .
drwxr-xr-x 12 root root 4096 Jan 23 21:20 ..
drwsrws--- 11 http http 4096 Jan 23 17:25 accessibility
drwsrws--- 11 http http 4096 Jan 23 21:20 activity
drwsrws---  6 http http 4096 Jan 23 17:25 admin_audit
drwsrws--- 12 http http 4096 Jan 23 21:20 circles
drwsrws---  6 http http 4096 Jan 23 21:20 cloud_federation_api
drwsrws---  8 http http 4096 Jan 23 21:20 comments
drwsrws---  6 http http 4096 Jan 23 17:25 contactsinteraction
drwsrws---  9 http http 4096 Jan 23 17:25 dashboard
drwsrws--- 10 http http 4096 Jan 23 17:25 dav
drwsrws--- 10 http http 4096 Jan 23 17:25 encryption
drwsrws--- 10 http http 4096 Jan 23 17:25 federatedfilesharing
drwsrws--- 10 http http 4096 Jan 23 17:25 federation
drwsrws--- 11 http http 4096 Jan 23 21:20 files
drwsrws--- 11 http http 4096 Jan 23 21:20 files_external
drwsrws---  8 http http 4096 Jan 23 21:20 files_pdfviewer
drwsrws---  8 http http 4096 Jan 23 21:20 files_rightclick
drwsrws--- 10 http http 4096 Jan 23 21:20 files_sharing
drwsrws---  9 http http 4096 Jan 23 21:20 files_trashbin
drwsrws---  8 http http 4096 Jan 23 17:25 files_versions
drwsrws---  7 http http 4096 Jan 23 21:20 files_videoplayer
drwsrws---  9 http http 4096 Jan 23 21:20 firstrunwizard
drwsrws--- 12 http http 4096 Jan 23 21:20 logreader
drwsrws---  6 http http 4096 Jan 23 17:25 lookup_server_connector
drwsrws---  8 http http 4096 Jan 23 21:20 nextcloud_announcements
drwsrws--- 10 http http 4096 Jan 23 21:20 notifications
drwsrws---  8 http http 4096 Jan 23 17:25 oauth2
drwsrws---  9 http http 4096 Jan 23 21:20 password_policy
drwsrws--- 10 http http 4096 Jan 23 21:20 photos
drwsrws---  9 http http 4096 Jan 23 21:20 privacy
drwsrws---  7 http http 4096 Jan 23 17:25 provisioning_api
drwsrws---  6 http http 4096 Jan 23 21:20 recommendations
drwsrws---  9 http http 4096 Jan 23 21:20 serverinfo
drwsrws--- 11 http http 4096 Jan 23 17:25 settings
drwsrws--- 10 http http 4096 Jan 23 17:25 sharebymail
drwsrws--- 10 http http 4096 Jan 23 21:20 support
drwsrws---  9 http http 4096 Jan 23 21:20 survey_client
drwsrws--- 10 http http 4096 Jan 23 21:20 systemtags
drwsrws---  9 http http 4096 Jan 23 21:20 text
drwsrws---  9 http http 4096 Jan 23 17:25 theming
drwsrws---  9 http http 4096 Jan 23 17:25 twofactor_backupcodes
drwsrws---  9 http http 4096 Jan 23 17:25 updatenotification
drwsrws--- 12 http http 4096 Jan 23 17:25 user_ldap
drwsrws---  9 http http 4096 Jan 23 17:25 user_status
drwsrws---  7 http http 4096 Jan 23 21:20 viewer
drwsrws---  7 http http 4096 Jan 23 17:25 weather_status
drwsrws---  9 http http 4096 Jan 23 17:25 workflowengine

Have I to change the rights of settings folder?
What are the correct user and access rights for this folder?

<?php
$CONFIG = array (
  'datadirectory' => '/home/data',
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/usr/share/webapps/nextcloud/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 => 
    array (
      'path' => '/var/lib/nextcloud/apps',
      'url' => '/wapps',
      'writable' => true,
    ),
  ),
  'passwordsalt' => XXX',
  'secret' => 'XXX',
  'trusted_domains' => 
  array (
      0 => 'localhost',
      1 => 'cloud.joelmueller.ch',
      2 => '85.195.234.234',
  ),
  'dbtype' => 'mysql',
  'version' => '23.0.0.10',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_admin1',
  'dbpassword' => 'XXX',
  'installed' => true,
  'instanceid' => 'XXX',
);

ummm… it’s not really clear to me what you want to do/reach/which goals you wanna have fulfilled…
but first of all: your cloud doesn’t have a valid SSL-certifcate. you need to apply for one for cloud.yourdomain.tld

I have a valid ssl Cert it’s from let’s encrypt.

I want add two apps for a external storage.

I can’t access App add page

your certificate is valid for www.yourdomain.tld and yourdomain.tld.
but NOT for cloud.yourdomain.tld.

shouldn’t be localhost but your FQDN.

where and how do you have your NC-instance installed? A shared hoster? Or a managed NC somewhere else?

Morta:

I have a valid ssl Cert it’s from let’s encrypt.

your certificate is valid for www.yourdomain.tld and yourdomain.tld.
but NOT for cloud.yourdomain.tld.

I have a vhost with nginx and generated with certbot it’s behind a firewall that could be the issue. I can’t generate certs for hosts there are not hosted on this host.

Morta:

'overwrite.cli.url' => 'http://localhost',

shouldn’t be localhost but your FQDN.

Thanks. I will adjust.

Morta:

I can’t access App add page

where and how do you have your NC-instance installed? A shared hoster? Or a managed NC somewhere else?

No I installed at home a I have FTTH and a router/firewall, laptop, nas and a server so installed on the nas because there is the most data stored

@Morta
I agree with @JimmyKater . Please only use from intern and extern:
https://cloud.joelmueller.ch

Yeah. If you hit cloud.joelmueller.ch in Firefox so you get a valid Cert, nor?

I got it. I’m agree the iOS app are saying that’s not valid but that is a second problem.

Bild

Back to the main topic how I get the app add page working?

In the nextcloud app you must use https://cloud.joelmueller.ch

Also test:

'overwrite.cli.url' => 'http://localhost',

change to

'overwrite.cli.url' => 'https://cloud.joelmueller.ch',

Also it think you have not correctly setup your virtual host “cloud.joelmueller.ch” on Apache2/nginx. You must define for “cloud.joelmueller.ch” the subfolder e.g. /var/www/html/cloud. Actually you go from https://cloud.joelmueller.ch to your homepage.

Thanks. I will begin from the scratch.
I purged nextcloud and mariadb
I will adjust the settings and look if it’s works

sometimes it would be of help if one relies on products like nextcloudpi - afaik they have a docker, a VM or you can install it using bash. please check out their website under nextcloudpi.com.

they from the official NC-versum and they help you setting up your instance in a sane way and maintaining it easily

don’t want a VM or Docker things. I want a proper setup with latest mariadb nginx and nextcloud on ArchLinux.
If they not provide properly the Nextcloud package with the proper rights it’s a bit annoying.

It should be possible to self configure the cloud

They do. For sure. But like Archilinunx isn’t a so called standardsetup.

it’s completely possible. Even with ncp. But I think you do know the best yourself how to setup everything correctly. I just wanted to make a sophisticated suggestion - it’s OK for me if you don’t wanna use it.

no Problem thanks don’t wanna be rude

  • | - |

Morta:

I have a valid ssl Cert it’s from let’s encrypt.

your certificate is valid for www.yourdomain.tld and yourdomain.tld.
but NOT for cloud.yourdomain.tld.

I have a vhost with nginx and generated with certbot it’s behind a firewall that could be the issue. I can’t generate certs for hosts there are not hosted on this host.

Morta:

'overwrite.cli.url' => '[http://localhost](http://localhost)',

shouldn’t be localhost but your FQDN.

Thanks. I will adjust.

Morta:

I can’t access App add page

where and how do you have your NC-instance installed? A shared hoster? Or a managed NC somewhere else?

No I installed at home a I have FTTH and a router/firewall, laptop, nas and a server so installed on a the nas because there is the most data stored