Any update on on why this is still not working on FreeBSD?
I had it running on an older version of FreeBSD just fine… pls review details:
Nextcloud version (eg, 20.0.5): nextcloud-php74-20.0.4_1
Operating system and version (eg, Ubuntu 20.04): FreeBSD 12.2-RELEASE-p3
Apache or nginx version (eg, Apache 2.4.25): apache24-2.4.46
PHP version (eg, 7.4): php74-7.4.14
Mysql: mysql80-server-8.0.22_1
The issue you are facing:
Install fails with:
“Could not fetch list of apps from the app store.”
Path:
http://192.168.1.249/nextcloud/index.php/core/apps/recommended
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Fresh install of FreeBSD
- Only running FAMP - Freebsd, Apach, Mysql, PHP74
- Running lasted update (freebsd-update fetch && freebsd-update install), this server is vanilla
The output of your Nextcloud log in Admin > Logging:
Cannot get this far.
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'oct8fnijkd2r',
'passwordsalt' => '----------------',
'secret' => '----------------',
'trusted_domains' =>
array (
0 => '192.168.1.249',
),
'datadirectory' => '/usr/local/www/nextcloud/data',
'dbtype' => 'mysql',
'version' => '20.0.4.0',
'overwrite.cli.url' => 'http://192.168.1.249/nextcloud',
'dbname' => 'nc',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'oc_vic',
'dbpassword' => '----------------',
'installed' => true,
);
The output of your Apache/nginx/system log in /var/log/____
:
root@nctest:/usr/local/www/nextcloud/config # cat /var/log/httpd-access.log
192.168.1.192 - - [29/Jan/2021:21:39:27 -0800] "GET / HTTP/1.1" 200 45
192.168.1.192 - - [29/Jan/2021:21:39:27 -0800] "GET /favicon.ico HTTP/1.1" 404 196
192.168.1.192 - - [29/Jan/2021:21:51:26 -0800] "GET /info.php HTTP/1.1" 200 83584
192.168.1.192 - - [29/Jan/2021:21:51:26 -0800] "GET /info.php HTTP/1.1" 200 83401
192.168.1.192 - - [29/Jan/2021:21:51:42 -0800] "GET /info.php HTTP/1.1" 200 83820
192.168.1.192 - - [29/Jan/2021:21:51:42 -0800] "GET /info.php HTTP/1.1" 200 83401
192.168.1.192 - - [29/Jan/2021:21:54:49 -0800] "GET /nextcloud HTTP/1.1" 301 239
192.168.1.192 - - [29/Jan/2021:21:54:49 -0800] "GET /nextcloud/ HTTP/1.1" 200 6806
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/css/guest.css?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 20937
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/actions/caret-white.svg HTTP/1.1" 200 145
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/logo/logo.svg?v=1 HTTP/1.1" 200 321
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/background.png?v=2 HTTP/1.1" 200 9621
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/js/dist/install.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 218121
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/js/dist/main.js?v=ba222ded25d957b900c03bef914333cd HTTP/1.1" 200 1443170
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/actions/toggle.svg?v=1 HTTP/1.1" 200 308
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/actions/info-white.svg?v=2 HTTP/1.1" 200 386
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/actions/checkbox-mark-white.svg HTTP/1.1" 200 246
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/vendor/zxcvbn/dist/zxcvbn.js HTTP/1.1" 200 821711
192.168.1.192 - - [29/Jan/2021:21:54:50 -0800] "GET /nextcloud/core/img/favicon.ico HTTP/1.1" 200 3262
127.0.0.1 - - [29/Jan/2021:21:54:58 -0800] "OPTIONS * HTTP/1.0" 200 -
127.0.0.1 - - [29/Jan/2021:21:54:59 -0800] "OPTIONS * HTTP/1.0" 200 -
192.168.1.192 - - [29/Jan/2021:21:56:20 -0800] "POST /nextcloud/index.php HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:00 -0800] "GET /nextcloud/index.php/core/apps/recommended HTTP/1.1" 200 2717
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/core/css/guest.css?v=52a6b787 HTTP/1.1" 200 20937
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/css/core/dd86-4c0e-css-variables.css?v=d41d8cd98f00b204e9800998ecf8427e-52a6b787 HTTP/1.1" 200 601
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/css/icons/icons-vars.css?v=1611986220 HTTP/1.1" 200 111079
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/core/js/dist/main.js?v=52a6b787 HTTP/1.1" 200 1443170
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/css/core/dd86-4c0e-server.css?v=d41d8cd98f00b204e9800998ecf8427e-52a6b787 HTTP/1.1" 200 19547
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/core/js/dist/files_fileinfo.js?v=52a6b787 HTTP/1.1" 200 31003
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/core/js/dist/files_client.js?v=52a6b787 HTTP/1.1" 200 126285
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/core/js/dist/recommendedapps.js?v=52a6b787 HTTP/1.1" 200 146739
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/js/core/merged-template-prepend.js?v=52a6b787 HTTP/1.1" 200 2982
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/core/js/backgroundjobs.js?v=52a6b787 HTTP/1.1" 200 943
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/cron.php HTTP/1.1" 200 20
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/settings/apps/list HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
192.168.1.192 - - [29/Jan/2021:21:57:01 -0800] "GET /nextcloud/index.php/apps/files/ HTTP/1.1" 302 -
root@nctest:/usr/local/www/nextcloud/config # cat /var/log/httpd-error.log
[Fri Jan 29 21:39:11.941892 2021] [mpm_prefork:notice] [pid 1067] AH00163: Apache/2.4.46 (FreeBSD) configured -- resuming normal operations
[Fri Jan 29 21:39:11.942041 2021] [core:notice] [pid 1067] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Jan 29 21:51:07.290350 2021] [mpm_prefork:notice] [pid 1067] AH00169: caught SIGTERM, shutting down
[Fri Jan 29 21:51:07.808523 2021] [mpm_prefork:notice] [pid 5158] AH00163: Apache/2.4.46 (FreeBSD) PHP/7.4.14 configured -- resuming normal operations
[Fri Jan 29 21:51:07.808587 2021] [core:notice] [pid 5158] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Fri Jan 29 21:54:41.385850 2021] [mpm_prefork:notice] [pid 5158] AH00169: caught SIGTERM, shutting down
[Fri Jan 29 21:54:41.574888 2021] [mpm_prefork:notice] [pid 5204] AH00163: Apache/2.4.46 (FreeBSD) PHP/7.4.14 configured -- resuming normal operations
[Fri Jan 29 21:54:41.574932 2021] [core:notice] [pid 5204] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'