Hi all,
I have working Nextcloud in jail installed with nextcloud-jail.sh, including Caddy and MariaDB, access via HTTP over my LAN.
I wanted to install phpMyAdmin, so what i have done:
went to /usr/local/www/ and pkg install phpMyAdmin5-php83, it created folder under www, next to nextcloud
edited caddyfile and added this:
root * /usr/local/www/nextcloud
root /phpMyAdmin/* /usr/local/www/phpMyAdmin/
uri /phpMyAdmin/* strip_prefix /phpMyAdmin
file_server
edited config.inc.php and set this up:
$cfg['Servers'][$i]['auth_type'] = 'cookie';
if($wampConf['SupportMariaDB'] =='on')
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = ' my password ';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'NEXTCLOUD';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = false;
but now when login in at http://my_ip_address_for_nextcloud/phpMyAdmin/ i have this info:
Failed to set session cookie.
Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.
So when i change config.inc.php and edit this:
$cfg['Servers'][$i]['auth_type'] = 'config';
so phpmyadmin log me in without asking for pass and Im able to get to phpmyadmin, but im not able to click on any option or link, it looks like i mess up with caddyfile somehow
At the bottom i have this info:
The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated.