0
我正在部署一个Symfony应用程序,并且遇到了当前目录上符号链接的问题。Capistrano Symfony当前符号链接不工作
它的作品,当我删除符号链接,我再次部署,这是与符号链接失败的更新!
我已经测试了这些解决方案:
Deploy:symlink on capistrano points the "current" directory to previous release
但它不工作,有我的部署文件:
set :application, 'aci'
set :repo_url, '[email protected]:myrepo/repo.git'
set :scm, :git
set :composer_install_flags, '--no-interaction --optimize-autoloader'
# Symfony console commands will use this environment for execution
set :symfony_env, "prod"
# Set this to 2 for the old directory structure
set :symfony_directory_structure, 3
# Set this to 4 if using the older SensioDistributionBundle
set :sensio_distribution_version, 5
# symfony-standard edition directories
set :app_path, "app"
set :web_path, "web"
set :var_path, "var"
set :bin_path, "app"
# The next 3 settings are lazily evaluated from the above values, so take care
# when modifying them
set :app_config_path, "app/config"
set :log_path, "app/logs"
set :cache_path, "app/cache"
set :symfony_console_path, "app/console"
set :symfony_console_flags, "--no-debug"
# Remove app_dev.php during deployment, other files in web/ can be specified here
set :controllers_to_clear, ["app_*.php"]
# asset management
set :assets_install_path, "web"
set :assets_install_flags, '--symlink'
# Share files/directories between releases
set :linked_files, []
set :linked_dirs, ["app/logs"]
# Set correct permissions between releases, this is turned off by default
set :file_permissions_paths, ["app"]
set :permission_method, false
# Share files/directories between releases
set :linked_files, %w{app/config/parameters.yml}
set :linked_dirs, %w{app/logs web/uploads}
after 'deploy:starting', 'composer:install_executable'
after 'deploy:updated', 'symfony:assets:install'
after 'deploy', 'deploy:symlink:release'
'它不工作'任何错误文本,日志或任何线索? – goto