lerni

try to create an ss_envirnoment.phpfile in the webroot and do an require_once("conf/ConfigureFromEnv.php"); in mysite/_config.php

lerni

if it's 3.6.2 and setting Security::setDefaultAdmin('admin','password'); in mysite/_config.php doesn't work and there is no ss_envirnoment.php you could look for other folders where the project/app could be in and check if there's a _config.php file in.

lerni

@Magoogle Version 3.x doesn't use .env files. In V4 the env-files replaces _ss_environment.php

lerni

with 4.x the following in an .env file or "real" environment variables should do.

  1. SS_DEFAULT_ADMIN_USERNAME="admin"
  2. SS_DEFAULT_ADMIN_PASSWORD="password"

lerni

above is for version 3.x - or could old also be 4.x?

lerni

Check if require_once("conf/ConfigureFromEnv.php"); is present in _config.php and if so is there's a file called _ss_environment.php in the webroot or the folder above? If that one exists try set it in there like

  1. / Configure a default username and password to access the CMS on all sites in this environment. /
  2. define('SS_DEFAULT_ADMIN_USERNAME', 'admin');
  3. define('SS_DEFAULT_ADMIN_PASSWORD', 'password');

lerni

"security tag" looks like like Security::setDefaultAdmin('admin','password'); in _config.php?

lerni

@Bas van Vliet @nomidi last night I've had a go with https://github.com/nomidi/silverstripe-webp-image and it looks like a drop-in solution to use webp for a fresh install. You may can check out my fork - it should work with imagick & GD per Intervention\Image. Looks like a task to generate all the webp-files needed for an existing project would be a good addition.