Checklist
[ ] I have read intro post: About the Installation Issues category
[ ] I have read the tutorials, help and searched for similar issues
[ ] I provide relevant information about my server (component names and versions, etc.)
[ ] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue
username@Passbolt:/var/www/passbolt$ sudo -u www-data app/Console/cake install --no-admin
PHP Warning: cake_core cache was unable to write ‘cake_dev_eng’ to File cache in /var/www/passbolt/lib/Cake/Cache/Cache.php on line 327
PHP Warning: /var/www/passbolt/app/tmp/cache/persistent/ is not writable in /var/www/passbolt/lib/Cake/Cache/Engine/FileEngine.php on line 385
PHP Fatal error: Uncaught CacheException: Cache engine “cake_core” is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct in /var/www/passbolt/lib/Cake/Cache/Cache.php:186
Stack trace: #0 /var/www/passbolt/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine(‘cake_core’) #1 /var/www/passbolt/app/Config/core.php(400): Cache::config(‘cake_core’, Array) #2 /var/www/passbolt/lib/Cake/Core/Configure.php(72): include(’/var/www/passbo…’) #3 /var/www/passbolt/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #4 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(145): require(’/var/www/passbo…’) #5 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(100): ShellDispatcher->_bootstrap() #6 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(54): ShellDispatcher->_initEnvironment() #7 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(65): ShellDispatcher->__construct(Array) #8 /var/www/passbolt/app/Console/cake.php(52): ShellDispatcher::run(Array) #9 {mai in /var/www/passbolt/lib/Cake/Cache/Cache.php on line 186
@Coolfeather2 Please try to provide more information about what you did and what you tried from the checklist. While you seems to have an issue with the cache, a little hello and some introduction can go a long way if you want to get help.
username@Passbolt:/var/www/passbolt$ sudo su -s /bin/bash -c "./app/Conso le/cake passbolt healthcheck" www-data
PHP Warning: _cake_core_ cache was unable to write 'cake_dev_eng' to File cache in /var/www/passbolt/lib/Cake/Cache/Cache.php on line 327
PHP Warning: /var/www/passbolt/app/tmp/cache/persistent/ is not writable in /va r/www/passbolt/lib/Cake/Cache/Engine/FileEngine.php on line 385
PHP Fatal error: Uncaught CacheException: Cache engine "_cake_core_" is not pro perly configured. Ensure required extensions are installed, and credentials/perm issions are correct in /var/www/passbolt/lib/Cake/Cache/Cache.php:186
Stack trace:
#0 /var/www/passbolt/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_c ore_')
#1 /var/www/passbolt/app/Config/core.php(400): Cache::config('_cake_core_', Arra y)
#2 /var/www/passbolt/lib/Cake/Core/Configure.php(72): include('/var/www/passbo.. .')
#3 /var/www/passbolt/lib/Cake/bootstrap.php(432): Configure::bootstrap(true)
#4 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(145): require('/var/ww w/passbo...')
#5 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(100): ShellDispatcher- >_bootstrap()
#6 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(54): ShellDispatcher-> _initEnvironment()
#7 /var/www/passbolt/lib/Cake/Console/ShellDispatcher.php(65): ShellDispatcher-> __construct(Array)
#8 /var/www/passbolt/app/Console/cake.php(52): ShellDispatcher::run(Array)
#9 {mai in /var/www/passbolt/lib/Cake/Cache/Cache.php on line 186
Decided to chown -R www-data:www-data ./passbolt/
---------------------------------------------------------------
____ __ ____
/ __ \____ _____ ____/ /_ ____ / / /_
/ /_/ / __ `/ ___/ ___/ __ \/ __ \/ / __/
/ ____/ /_/ (__ |__ ) /_/ / /_/ / / /
/_/ \__,_/____/____/_.___/\____/_/\__/
Open source password manager for teams
---------------------------------------------------------------
Healthcheck shell
---------------------------------------------------------------
Environment
[PASS] PHP version 7.0.22-0ubuntu0.16.04.1
[PASS] PCRE compiled with unicode support
[PASS] The temporary directory and its content are writable
[PASS] The public image directory and its content are writable
Config files
[PASS] The core config file is present
[PASS] The database config file is present
[PASS] The email config file is present
[PASS] The application config file is present
Core config
[PASS] Debug mode is off.
[PASS] Cache is working.
[FAIL] Default value found for security.salt
[HELP] Edit the security.salt in app/Config/core.php
[FAIL] Default value found for security.cipherSeed
[HELP] Edit the security.cipherSeed in app/Config/core.php
[PASS] Full base url is set to http://<redacted machine ip>/
[PASS] App.fullBaseUrl validation OK.
[FAIL] Could not reach the /healthcheck/status with the url specified in App.fullBaseUrl
[HELP] Check that the domain name is correct in app/Config/core.php
[HELP] Check the network settings
SSL Certificate
[FAIL] SSL peer certificate does not validate
[FAIL] Hostname does not match when validating certificates.
[WARN] Using a self-signed certificate
Database
[PASS] Configured to use a supported database backend
[PASS] The application is able to connect to the database
[PASS] Not using a prefix for database tables
[FAIL] No table found
[HELP] Run the install script to install the database tables
[HELP] sudo su -s /bin/bash -c "/var/www/passbolt/app/Console/cake install" www-data
[FAIL] No default content found
[HELP] Run the install script to set the default content such as roles and permission types
[HELP] sudo su -s /bin/bash -c "/var/www/passbolt/app/Console/cake install" www-data
[FAIL] The database schema is not up to date.
[HELP] Run the migration scripts:
[HELP] sudo su -s /bin/bash -c "/var/www/passbolt/app/Console/cake Migrations.migration run all" www-data
[HELP] See. https://www.passbolt.com/help/tech/update
GPG Configuration
[PASS] PHP GPG Module is installed and loaded
[PASS] The server gpg key is not the default one
[PASS] The environment variable GNUPGHOME is set to /home/www-data/.gnupg
[PASS] The directory /home/www-data/.gnupg containing the keyring is writable by the user the webserver is running as.
[PASS] The public key file is defined in app/config.php and readable.
[PASS] The private key file is defined in app/config.php and readable.
[PASS] The server key fingerprint matches the one defined in app/config.php.
[WARN] The server key defined in the app/Config.php is not in the keyring
[HELP] Import the private server key in the keyring of the user the webserver is running as.
[HELP] you can try:
[HELP] sudo su -s /bin/bash -c "gpg --home /home/www-data/.gnupg --import /var/www/passbolt/app/Config/gpg/server_private_key.key" www-data
[PASS] There is a valid email id defined for the server key.
Application configuration
[FAIL] This installation is not up to date. Currently using 1.6.9 and it should be v2.0.0-rc1.
[HELP] See. https://www.passbolt.com/help/tech/update
[PASS] Passbolt is configured to force SSL use
[FAIL] App.fullBaseUrl is not set to HTTPS
[HELP] Check App.fullBaseUrl url scheme in app/Config/core.php
[PASS] Selenium API endpoints are disabled.
[PASS] Search engine robots are told not to index content.
[PASS] Registration is closed, only administrators can add users.
[PASS] Serving the compiled version of the javascript app
[PASS] All email notifications will be sent.
Development Tools (optional)
[PASS] Phpunit is installed
[PASS] Phpunit version is 3.7.38
10 error(s) found. Hang in there!
How would one generate a salt/cipherseed to replace default?
I guess your original issue is solved. Please create a new issue with more information about the next problem you are facing so that other people can also benefits from the solution.