Open FranklinMayR opened 6 years ago
UPDATE
I've found the solution for the first error: Extend the permissions to the DB user to the localhost IP: GRANT ALL PRIVILEGES ON casebox.* TO 'casebox'@'127.0.0.1';
After that i ran again the composer update command and these are the results:
$sudo composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 0 updates, 0 removals
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Updating the "app/config/default/parameters.yml" file
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
// Clearing the cache for the default environment with debug false
[OK] Cache for the "default" environment (debug=false) was successfully cleared.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/casebox/vendor/symfony/monolog-bundle/DependencyInjection/Configuration.php on line 628
Trying to install assets as relative symbolic links.
--- ------------------- ------------------
Bundle Method / Error
--- ------------------- ------------------
✔ FrameworkBundle relative symlink
✔ CaseboxCoreBundle relative symlink
--- ------------------- ------------------
[OK] All assets were successfully installed.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
Deprecation Notice: The callback Casebox\CoreBundle\Composer\ScriptHandler::buildAssets declared at /var/www/casebox/vendor/caseboxdev/core-bundle/src/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-update-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/bin/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:316
> Casebox\CoreBundle\Composer\ScriptHandler::buildAssets
[x] CSS minify done.
[x] JS minify donesudo composer
rm: cannot remove ‘/var/www/casebox/app/../web/css’: No such file or directory
[*] Add '/var/www/casebox/app/../web/css' symlink.
[x] Symlink '/var/www/casebox/app/../web/css' added.
rm: cannot remove ‘/var/www/casebox/app/../web/files’: No such file or directory
[*] Add '/var/www/casebox/app/../web/files' symlink.
[x] Symlink '/var/www/casebox/app/../web/files' added.
rm: cannot remove ‘/var/www/casebox/app/../web/img’: No such file or directory
[*] Add '/var/www/casebox/app/../web/img' symlink.
[x] Symlink '/var/www/casebox/app/../web/img' added.
rm: cannot remove ‘/var/www/casebox/app/../web/js’: No such file or directory
[*] Add '/var/www/casebox/app/../web/js' symlink.
[x] Symlink '/var/www/casebox/app/../web/js' added.
rm: cannot remove ‘/var/www/casebox/app/../web/min’: No such file or directory
[*] Add '/var/www/casebox/app/../web/min' symlink.
[x] Symlink '/var/www/casebox/app/../web/min' added.
[x] Casebox assets installed.
Deprecation Notice: The callback Casebox\CoreBundle\Composer\ScriptHandler::buildTranslations declared at /var/www/casebox/vendor/caseboxdev/core-bundle/src/Composer/ScriptHandler.php accepts a Composer\Script\CommandEvent but post-update-cmd events use a Composer\Script\Event instance. Please adjust your type hint accordingly, see https://getcomposer.org/doc/articles/scripts.md#event-classes in phar:///usr/bin/composer.phar/src/Composer/EventDispatcher/EventDispatcher.php:316
> Casebox\CoreBundle\Composer\ScriptHandler::buildTranslations
[x] Translations exported.
$sudo php bin/console casebox:solr:create --env=default
[GuzzleHttp\Exception\ServerException]
Server error: `GET http://127.0.0.1:8983/solr/admin/cores?action=CREATE&name=&configSet=casebox_log&wt=json` resulted in a `500 Server Error` response:
{
"responseHeader":{
"status":500,
"QTime":46},
"error":{
"metadata":[
"error-class","org.apache.s (truncated...)
casebox:solr:create [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
$sudo php bin/console casebox:solr:update --all=true --env=default
[Exception]
Solr_connection_error
(127.0.0.1:8983 -> /solr/cb_default )
casebox:solr:update [-a|--all [ALL]] [-l|--nolimit [NOLIMIT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>
$sudo php bin/console ca:cl --env=default
// Clearing the cache for the default environment with debug
// false
PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/casebox/vendor/symfony/monolog-bundle/DependencyInjection/Configuration.php on line 628
[OK] Cache for the "default" environment (debug=false) was successfully cleared.
$sudo php bin/console casebox:min:assets --env=default
[x] CSS minify done.
[x] JS minify done
[x] Casebox assets installed.
Then, restarted Solr and Nginx and logged into casebox as root, this is the result:
Updates and/or suggestions please!!!!
I built a joomla website for a NGO and now I'm trying to install Casebox in a secondary root directory following this structure: https://_mycurrentdomain_/casebox so they can access all their services from the same domain and server; I've been trying to adapt the instructions given in https://github.com/KETSE/casebox/wiki/CentOS-7.2-x64, but still i cannot manage to make it work even not using SSL. Can you give some help on this?
UPDATE I tried again from the beginning in a GCE instance and this is the result:
After following -again- all the steps in the manual, this is how far i went:
Can anybody give me some help?