Varying-Vagrant-Vagrants / VVV

An open source Vagrant configuration for developing with WordPress
https://varyingvagrantvagrants.org
MIT License
4.54k stars 848 forks source link

Can't manage to migrate from 1.3.0 #1403

Closed SVAR7BERG closed 6 years ago

SVAR7BERG commented 6 years ago

So I used 1.3.0 fro quite a long time, yesterday I upgraded to the latest version and tried to migrate my pages.

By "upgrading" here I mean I installed the newest VVV into a new folder and copied my old /www folder into the new VVV folder.

After that I checked the migration docs and added my sites to the vvv-custom.yml file:

  my_website:
    hosts:
      - my_website.test
      - my_website.dev

Also, I made sure that all my wordpress files (or genrally the whole wordpress installation) is inside /www/my_website/public_html/.

I also made sure, that inside my /my_website folder I have a vvv-nginx.conf file:

server {
    listen       80;
    listen       443 ssl;
    server_name  my_website.test;
    root         {vvv_path_to_site}/public_html;

    error_log    {vvv_path_to_site}/log/error.log;
    access_log   {vvv_path_to_site}/log/access.log;

    set          $upstream {upstream};

    include      /etc/nginx/nginx-wp-common.conf;
}

I then tried running vagrant reload --provision and after that launching my_website.test but it said:

Problem: Could not load the site, this implies that provisioning the site failed, please check there were no errors during provisioning, and reprovision.

Note, sometimes this is because provisioning hasn't finished yet, if it's still running, wait and refresh the page. If that doesn't fix the issue, see here for troubleshooting steps

I then tried copying a vvv-init.sh file from another folder to my /my_website folder and running vagrant reload --provision again, with no success.

Am I missing something? I find the VVV docs on migrating are not very clear :(

tomjn commented 6 years ago

A few questions:

SVAR7BERG commented 6 years ago

A few answers :)

tomjn commented 6 years ago

Then I would do the following:

Also, a random hunch, but can you change my_website to my-website? Both the domain, folder, and site name

SVAR7BERG commented 6 years ago

Thanks for your fast response. I will check what you said on monday.

Side note: Its actually not really my_website.test but rather a real domain with dashes (xxx-xxx-xxx.test).

And, also just to let you know before I will test it: Right before I set up these things I explained in my first post, I did a complete "Starting from Fresh" as https://varyingvagrantvagrants.org/docs/en-US/troubleshooting/ suggested. I will still test the vagrant halt;vagrant up --provision monday and paste the log here.

SVAR7BERG commented 6 years ago

Okay, so I hope this is enough as I realized too late that I have to increase the consoles buffer.

I first did "vagrant halt" and then "vagrant up --provision" (btw, is it normal that starting VVV and provisioning takes up to 15 minutes???)

I also made two screenshots. One of the dashboard (or rather the screen I get when opening my xxx-xxx-xxx.test) and one of my vvv-custom.yml: https://imgur.com/a/zgadd

==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => D:/daten-VDL2/VVV
    default: /srv/www => D:/daten-VDL2/VVV/www
    default: /srv/log => D:/daten-VDL2/VVV/log
    default: /srv/config => D:/daten-VDL2/VVV/config
    default: /srv/database => D:/daten-VDL2/VVV/database
==> default: Running provisioner: fix-no-tty (shell)...
    default: Running: inline script
==> default: Running provisioner: default (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-uwt41s.sh
==> default: Network connection detected...
==> default: Bash profile setup and directories.
==> default: sending incremental file list
==> default: deleting develop_git
==> default: db_backup
==> default: db_restore
==> default: makepot
==> default: vagrant_destroy
==> default: vagrant_halt
==> default: vagrant_suspend
==> default: vagrant_up
==> default: xdebug_off
==> default: xdebug_on
==> default:
==> default: sent 2.49K bytes  received 202 bytes  5.38K bytes/sec
==> default: total size is 3.29K  speedup is 1.22
==> default:  * Copied /srv/config/bash_profile                      to /home/va
grant/.bash_profile
==> default:  * Copied /srv/config/bash_aliases                      to /home/va
grant/.bash_aliases
==> default:  * Copied /srv/config/vimrc                             to /home/va
grant/.vimrc
==> default:  * Copied /srv/config/subversion-servers                to /home/va
grant/.subversion/servers
==> default:  * Copied /srv/config/subversion-config                 to /home/va
grant/.subversion/config
==> default:  * rsync'd /srv/config/homebin                          to /home/va
grant/bin
==> default: Network connection detected...
==> default:
==> default: Main packages check and install.
==> default: Adding ppa:git-core/ppa repository
==> default:  * php7.0-fpm                                          7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-cli                                          7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-common                                       7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-dev                                          7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php-pear                                            1:1.10.5+sub
modules+notgz-1+ubuntu14.04.1+deb.sury.org+1
==> default:  * php-imagick                                         3.4.3-3+ubun
tu14.04.1+deb.sury.org+1
==> default:  * php-memcache                                        3.0.9~201603
11.4991c2f-7+ubuntu14.04.1+deb.sury.org+1
==> default:  * php-memcached                                       3.0.4+2.2.0-
1+ubuntu14.04.1+deb.sury.org+1
==> default:  * php-ssh2                                            1.1.2+0.13-1
+ubuntu14.04.1+deb.sury.org+1
==> default:  * php-xdebug                                          2.5.5-3+ubun
tu14.04.1+deb.sury.org+1
==> default:  * php7.0-bcmath                                       7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-curl                                         7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-gd                                           7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-mbstring                                     7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-mcrypt                                       7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-mysql                                        7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-imap                                         7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-json                                         7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-soap                                         7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-xml                                          7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * php7.0-zip                                          7.0.27-1+ubu
ntu14.04.1+deb.sury.org+1
==> default:  * nginx                                               1.13.8-1~tru
sty
==> default:  * memcached                                           1.4.14-0ubun
tu9.1
==> default:  * mariadb-server                                      10.1.30+mari
a-1~trusty
==> default:  * imagemagick                                         8:6.7.7.10-6
ubuntu3.9
==> default:  * subversion                                          1.8.8-1ubunt
u3.3
==> default:  * git                                                 1:2.15.1-1~p
pa0~ubuntu14.04.1
==> default:  * zip                                                 3.0-8
==> default:  * unzip                                               6.0-9ubuntu1
.5
==> default:  * ngrep                                               1.45.ds2-12
==> default:  * curl                                                7.35.0-1ubun
tu2.13
==> default:  * make                                                3.81-8.2ubun
tu3
==> default:  * vim                                                 2:7.4.052-1u
buntu3.1
==> default:  * colordiff                                           1.0.13-1
==> default:  * postfix                                             2.11.0-1ubun
tu1.2
==> default:  * python-pip                                          1.5.4-1ubunt
u4
==> default:  * ntp                                                 1:4.2.6.p5+d
fsg-3ubuntu2.14.04.12
==> default:  * gettext                                             0.18.3.1-1ub
untu3
==> default:  * graphviz                                            2.36.0-0ubun
tu3.2
==> default:  * dos2unix                                            6.0.4-1
==> default:  * g++                                                 4:4.8.2-1ubu
ntu6
==> default:  * nodejs                                              6.12.3-1node
source1
==> default:  * libsqlite3-dev                                      3.8.2-1ubunt
u2.1
==> default: Linked custom apt sources
==> default: No apt packages to install.
==> default: php7.0-fpm stop/waiting
==> default: php7.0-fpm start/running, process 8583
==> default: Updating nvm...
==> default: From https://github.com/creationix/nvm
==> default:  * branch            master     -> FETCH_HEAD
==> default:    9273f23..d34bb32  master     -> origin/master
==> default: error: Your local changes to the following files would be overwritt
en by merge:
==> default:    README.md
==> default:    install.sh
==> default: Please commit your changes or stash them before you merge.
==> default: Aborting
==> default: Updating 9273f23..d34bb32
==> default: error: The following untracked working tree files would be overwrit
ten by checkout:
==> default:    .dockerignore
==> default:    .gitattributes
==> default:    .github/ISSUE_TEMPLATE.md
==> default:    .gitignore
==> default:    .mailmap
==> default:    .npmrc
==> default:    .travis.yml
==> default:    CONTRIBUTING.md
==> default:    Dockerfile
==> default:    LICENSE.md
==> default:    Makefile
==> default:    README.md
==> default:    ROADMAP.md
==> default:    bash_completion
==> default:    install.sh
==> default:    nvm-exec
==> default:    nvm.sh
==> default:    package.json
==> default:    test/common.sh
==> default:    test/fast/Aliases/circular/nvm_resolve_alias
==> default:    test/fast/Aliases/circular/nvm_resolve_local_alias
==> default:    test/fast/Aliases/circular/setup
==> default:    test/fast/Aliases/circular/teardown
==> default:    test/fast/Aliases/lts/setup_dir
==> default:    test/fast/Aliases/lts/teardown_dir
==> default:    test/fast/Aliases/nvm_ensure_default_set
==> default:    test/fast/Aliases/nvm_resolve_alias
==> default:    test/fast/Aliases/nvm_resolve_local_alias
==> default:    test/fast/Aliases/setup
==> default:    test/fast/Aliases/teardown
==> default:    test/fast/Listing paths/teardown
==> default:    test/fast/Listing versions/Using a nonstandard IFS should not br
eak
==> default:    test/fast/Listing versions/teardown
==> default:    test/fast/Sourcing nvm.sh should make the nvm command available.

==> default:    test/fast/Sourcing nvm.sh should not modify parameters of caller

==> default:    test/fast/Unit tests/iojs_version_has_solaris_binary
==> default:    test/fast/Unit tests/mocks/iojs.org-dist-index.tab
==> default:    test/fast/Unit tests/mocks/nodejs.org-dist-index.tab
==> default:    test/fast/Unit tests/mocks/nvm ls-remote iojs.txt
==> default:    test/fast/Unit tests/mocks/nvm ls-remote lts.txt
==> default:    test/fast/Unit tests/mocks/nvm ls-remote node.txt
==> default:    test/fast/Unit tests/mocks/nvm ls-remote.txt
==> default:    test/fast/Unit tests/mocks/nvm_ls_remote LTS argon.txt
==> default:    test/fast/Unit tests/mocks/nvm_ls_remote LTS.txt
==> default:    test/fast/Unit tests/mocks/nvm_ls_remote stable.txt
==> default:    test/fast/Unit tests/mocks/nvm_ls_remote.txt
==> default:    test/fast/Unit tests/mocks/nvm_ls_remote_iojs.txt
==> default:    test/fast/Unit tests/mocks/nvm_make_alias LTS alias calls.txt
==> default:    test/fast/Unit tests/mocks/nvm_print_implicit_alias remote stabl
e.txt
==> default:    test/fast/Unit tests/node_version_has_solaris_binary
==> default:    test/fast/Unit tests/nvm ls-remote
==> default:    test/fast/Unit tests/nvm version-remote
==> default:    test/fast/Unit tests/nvm_add_iojs_prefix
==> default:    test/fast/Unit tests/nvm_alias
==> default:    test/fast/Unit tests/nvm_alias_path
==> default:    test/fast/Unit tests/nvm_change_path
==> default:    test/fast/Unit tests/nvm_checksum
==> default:    test/fast/Unit tests/nvm_clang_version
==> default:    test/fast/Unit tests/nvm_command_info
==> default:    test/fast/Unit tests/nvm_compare_checksum
==> default:    test/fast/Unit tests/nvm_compute_checksum
==> default:    test/fast/Unit tests/nvm_curl_libz_support
==> default:    test/fast/Unit tests/nvm_curl_use_compression
==> default:    test/fast/Unit tests/nvm_curl_version
==> default:    test/fast/Unit tests/nvm_default_packages
==> default:    test/fast/Unit tests/nvm_die_on_prefix
==> default:    test/fast/Unit tests/nvm_ensure_default_set
==> default:    test/fast/Unit tests/nvm_ensure_version_installed
==> default:    test/fast/Unit tests/nvm_ensure_version_prefix
==> default:    test/fast/Unit tests/nvm_find_up
==> default:    test/fast/Unit tests/nvm_format_version
==> default:    test/fast/Unit tests/nvm_get_arch
==> default:    test/fast/Unit tests/nvm_get_checksum
==> default:    test/fast/Unit tests/nvm_get_checksum_alg
==> default:    test/fast/Unit tests/nvm_get_latest missing curl or wget
==> default:    test/fast/Unit tests/nvm_get_minor_version
==> default:    test/fast/Unit tests/nvm_get_mirror
==> default:    test/fast/Unit tests/nvm_has
==> default:    test/fast/Unit tests/nvm_has_non_aliased
==> default:    test/fast/Unit tests/nvm_has_solaris_binary
==> default:    test/fast/Unit tests/nvm_has_system_iojs
==> default:    test/fast/Unit tests/nvm_has_system_node
==> default:    test/fast/Unit tests/nvm_install_latest_npm
==> default:    test/fast/Unit tests/nvm_iojs_prefix
==> default:    test/fast/Unit tests/nvm_is_alias
==> default:    test/fast/Unit tests/nvm_is_iojs_version
==> default:    test/fast/Unit tests/nvm_is_merged_node_version
==> default:    test/fast/Unit tests/nvm_is_natural_num
==> default:    test/fast/Unit tests/nvm_is_valid_version
==> default:    test/fast/Unit tests/nvm_ls_current
==> default:    test/fast/Unit tests/nvm_ls_remote
==> default:    test/fast/Unit tests/nvm_ls_remote LTS aliases
==> default:    test/fast/Unit tests/nvm_ls_remote_iojs
==> default:    test/fast/Unit tests/nvm_make_alias
==> default:    test/fast/Unit tests/nvm_node_prefix
==> default:    test/fast/Unit tests/nvm_num_version_groups
==> default:    test/fast/Unit tests/nvm_print_alias_path
==> default:    test/fast/Unit tests/nvm_print_default_alias
==> default:    test/fast/Unit tests/nvm_print_implicit_alias errors
==> default:    test/fast/Unit tests/nvm_print_implicit_alias success
==> default:    test/fast/Unit tests/nvm_print_npm_version
==> default:    test/fast/Unit tests/nvm_remote_version
==> default:    test/fast/Unit tests/nvm_remote_versions
==> default:    test/fast/Unit tests/nvm_strip_iojs_prefix
==> default:    test/fast/Unit test
==> default: Aborting
==> default: Installing/updating npm...
==> default: /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js
==> default: /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js
==> default: + npm@5.6.0
==> default: updated 1 package in 70.014s
==> default: Installing/updating npm-check-updates...
==> default: /usr/bin/npm-check-updates -> /usr/lib/node_modules/npm-check-updat
es/bin/npm-check-updates
==> default: /usr/bin/ncu -> /usr/lib/node_modules/npm-check-updates/bin/ncu
==> default: + npm-check-updates@2.14.0
==> default: updated 1 package in 59.632s
==> default: ack-grep already installed
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: Updating Composer...
==> default: You are already using composer version 1.6.2 (stable channel).
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: ./composer.json has been updated
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: ./composer.json has been updated
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: ./composer.json has been updated
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: ./composer.json has been updated
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: Changed current directory to /usr/local/src/composer
==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: Loading composer repositories with package information
==> default: Updating dependencies (including require-dev)
==> default: Nothing to install or update
==> default: Generating autoload files
==> default: Updating Grunt CLI
==> default: Adding graphviz symlink for Webgrind...
==> default: Installing Shyaml for bash provisioning..
==> default: Requirement already satisfied (use --upgrade to upgrade): shyaml in
 /usr/local/lib/python2.7/dist-packages
==> default: Cleaning up...
==> default: Setup configuration files...
==> default:  * Copied /srv/config/init/vvv-start.conf               to /etc/ini
t/vvv-start.conf
==> default: sending incremental file list
==> default: deleting vvv-auto-wordpress-develop-provision-2b2bf03d9cfabafc0746d
f486a1377ae.conf
==> default: deleting vvv-auto-wordpress-default-provision-43ccb1d415c7a942e5579
7dff3e109bd.conf
==> default: deleting vvv-auto-xxx-xxx-xxx.de-provision-f3e44701b1dfbefc9a74524e
5f2e71f9.conf
==> default: deleting vvv-auto-keptn-shop-provision-c27005ee2bb4ec4d0c71ba72f900
717a.conf
==> default: default.conf
==> default: local-nginx-example.conf-sample
==> default:
==> default: sent 1.84K bytes  received 356 bytes  4.40K bytes/sec
==> default: total size is 3.89K  speedup is 1.77
==> default:  * Copied /srv/config/nginx-config/nginx.conf           to /etc/ngi
nx/nginx.conf
==> default:  * Copied /srv/config/nginx-config/nginx-wp-common.conf to /etc/ngi
nx/nginx-wp-common.conf
==> default:  * Rsync'd /srv/config/nginx-config/sites/              to /etc/ngi
nx/custom-sites
==> default:  * RVM                                                 1.29.3
==> default:  * Mailcatcher                                         0.6.5
==> default:  * Mailcatcher upstart already configured.
==> default:  * Mailcatcher php7 fpm already configured.
==> default:  * Copied /srv/config/php-config/php7.0-fpm.conf   to /etc/php/7.0/
fpm/php-fpm.conf
==> default:  * Copied /srv/config/php-config/php7.0-www.conf   to /etc/php/7.0/
fpm/pool.d/www.conf
==> default:  * Copied /srv/config/php-config/php7.0-custom.ini to /etc/php/7.0/
fpm/conf.d/php-custom.ini
==> default:  * Copied /srv/config/php-config/opcache.ini       to /etc/php/7.0/
fpm/conf.d/opcache.ini
==> default:  * Copied /srv/config/php-config/xdebug.ini        to /etc/php/7.0/
mods-available/xdebug.ini
==> default:  * Copied /srv/config/memcached-config/memcached.conf   to /etc/mem
cached.conf
==> default: Restart services...
==> default:  * Restarting nginx nginx
==> default:    ...done.
==> default: Restarting memcached:
==> default: memcached.
==> default: mailcatcher stop/waiting
==> default: mailcatcher start/running, process 9276
==> default: php7.0-fpm stop/waiting
==> default: php7.0-fpm start/running, process 9427
==> default: Setup MySQL configuration file links...
==> default:  * Copied /srv/config/mysql-config/my.cnf               to /etc/mys
ql/my.cnf
==> default:  * Copied /srv/config/mysql-config/root-my.cnf          to /home/va
grant/.my.cnf
==> default: service mysql restart
==> default:  * Stopping MariaDB database server mysqld
==> default:    ...done.
==> default:  * Starting MariaDB database server mysqld
==> default:    ...done.
==> default:  * Checking for corrupt, not cleanly closed and upgrade needing tab
les.
==> default: No custom MySQL scripting found in database/init-custom.sql, skippi
ng...
==> default: Initial MySQL prep...
==> default: Start MariaDB Database Import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql
 before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom
.sql before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom
.sql before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql
 before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql bef
ore attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sq
l before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sq
l before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-
custom.sql before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.s
ql before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-cu
stom.sql before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-cust
om.sql before attempting import
==> default:   * Skipped import of keptnshop - tables exist
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql before
attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init
-custom.sql before attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql b
efore attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql befor
e attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sql before
attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create tXXX database via init-custom.sql before
 attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'xxx-xxx-xxx.de.dev'
==> default:   * Error - Create xxx-xxx-xxx.de.dev database via init-custom.sql
before attempting import
==> default:   * Skipped import of wordpress_default - tables exist
==> default:   * Skipped import of wordpress_develop - tables exist
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'wordpress_trunk'
==> default:   * Error - Create wordpress_trunk database via init-custom.sql bef
ore attempting import
==> default: ERROR
==> default:  1049 (42000)
==> default:  at line 1
==> default: : Unknown database 'XXX'
==> default:   * Error - Create XXX database via init-custom.sq
l before attempting import
==> default: Databases imported
==> default: Network connection detected...
==> default:
==> default: Installing/updating wp-cli and debugging tools
==> default: Updating wp-cli...
==> default: Downloading from https://raw.githubusercontent.com/wp-cli/builds/gh
-pages/phar/wp-cli-nightly.phar...
==> default: md5 hash verified: 1a632e376c7d2de6a16d65c098a93f75
==> default: New version works. Proceeding to replace.
==> default: Success: Updated WP-CLI to the latest nightly release.
==> default: Install/Update PHP_CodeSniffer (phpcs), see https://github.com/squi
zlabs/PHP_CodeSniffer
==> default: Install/Update WordPress-Coding-Standards, sniffs for PHP_CodeSniff
er, see https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards

==> default: Do not run Composer as root/super user! See https://getcomposer.org
/root for details
==> default: Loading composer repositories with package information
==> default:
==> default: Reading composer.json of automattic/vipwpcs (0.2.1)
==> default:
==> default:
==> default:
==> default: Reading composer.json of automattic/vipwpcs (0.2.0)
Reading composer.json of automattic/vipwpcs (0.1.0)

==> default: Reading composer.json of automattic/vipwpcs (add-closing-php-tag-an
d-SuperfluousWhitespace-sniff)
Reading composer.json of automattic/vipwpcs (add-commented-out-code-sniff)

Reading composer.json of automattic/vipwpcs (add-html-executing-funcitons-sniff)

Reading composer.json of automattic/vipwpcs (add-innerHTML-sniff)

==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-js-restricted-func
tions.php)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-js-string-concat-s
niff)
==> default:
==> default:
==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-merge-conflict-sni
ff.php)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-more-restricted-co
ntants)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-proper-escaping-fu
nction-sniff)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-vulnerable-tags-st
ripping-sniff)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (add-wp-mail-to-restric
ted-functions)
Reading composer.json of automattic/vipwpcs (add-write-and-writeln-to-html-execu
ting-functions)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (any-url-param-should-b
e-escaped-using-esc-url)
==> default:
==> default:
Reading composer.json of automattic/vipwpcs (deprecated-term-functions)

Reading composer.json of automattic/vipwpcs (detect-basic-auth-in-php)
Reading composer.json of automattic/vipwpcs (fix-24/flag-strip_tags)
Reading composer.json of automattic/vipwpcs (fix-25/flag-robotstxt-action)
Reading composer.json of automattic/vipwpcs (fix-78/properly-reference-phpcsFile
)
Reading composer.json of automattic/vipwpcs (fix-phpcs-flagged-formatting)

Reading composer.json of automattic/vipwpcs (fix-ruleset-test-eval)
Reading composer.json of automattic/vipwpcs (flag-batcache-whitelisted-get-param
s)
Reading composer.json of automattic/vipwpcs (flag-db-delta)

Reading composer.json of automattic/vipwpcs (ignore-SuperfluousWhitespace-in-css
-and-js)
Reading composer.json of automattic/vipwpcs (ignore-locate-template-in-include-s
niff)
Reading composer.json of automattic/vipwpcs (master)

==> default:
==> default: Reading composer.json of automattic/vipwpcs (missing-exit-after-red
irect)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (more-strict-html-tag-c
heck-in-js-string-concat)
Reading composer.json of automattic/vipwpcs (phpcs3-compat)

Reading composer.json of automattic/vipwpcs (replace-yoda-for-assignment-in-cond
Reading composer.json of automattic/vipwpcs (report-on-VIP-comment)
Reading composer.json of automattic/vipwpcs (restrict-is_multi_author-usage)
==> default:
==> default: Reading composer.json of automattic/vipwpcs (term-taxonomy-meta-in-
options-sniff)
Reading composer.json of automattic/vipwpcs (undefined-this-in-trait)

==> default: Updating dependencies (including require-dev)
==> default: Package operations: 0 installs, 1 update, 0 removals
==> default:   - Updating automattic/vipwpcs dev-master (e45a3ac => d64b174):
==> default:  Checking out d64b174da2
==> default: Writing lock file
==> default: Using config file: /srv/www/phpcs/CodeSniffer.conf
==> default:
==> default: Config value "installed_paths" updated successfully; old value was
"./CodeSniffer/Standards/WordPress/,./CodeSniffer/Standards/VIP-Coding-Standards
/"
==> default: Using config file: /srv/www/phpcs/CodeSniffer.conf
==> default:
==> default: Config value "default_standard" updated successfully; old value was
 "WordPress-Core"
==> default: The installed coding standards are MySource, PEAR, PSR1, PSR2, Squi
z, Zend, WordPress, WordPress-Core, WordPress-Docs, WordPress-Extra, WordPress-V
IP and WordPressVIPMinimum
==> default: Network connection detected...
==> default:
==> default:
==> default: Cleaning the virtual machine's /etc/hosts file...
==> default: -----------------------------
==> default: Provisioning complete in 526 seconds
==> default: For further setup instructions, visit http://vvv.test
==> default: Running provisioner: utility-source-core (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-180cli2.sh
==> default:
==> default: Updating core resources...
==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-utilities
==> default:  * branch            master     -> FETCH_HEAD
==> default: Already up to date.
==> default: Already on 'master'
==> default: Your branch is up to date with 'origin/master'.
==> default: Running provisioner: utility-core-memcached-admin (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-oi5241.sh
==> default: phpMemcachedAdmin already installed.
==> default: Running provisioner: utility-core-opcache-status (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-w5wzqd.sh
==> default: Updating Opcache Status
==> default: From https://github.com/rlerdorf/opcache-status
==> default:  * branch            master     -> FETCH_HEAD
==> default: Already up to date.
==> default: Current branch master is up to date.
==> default: Running provisioner: utility-core-phpmyadmin (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-p4on54.sh
==> default: PHPMyAdmin already installed.
==> default: Running provisioner: utility-core-webgrind (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-t1vmu3.sh
==> default: Updating webgrind...
==> default: From https://github.com/jokkedk/webgrind
==> default:  * branch            master     -> FETCH_HEAD
==> default: Already up to date.
==> default: Current branch master is up to date.
==> default: Running provisioner: site-wordpress-default (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-1hmlfwd.sh
==> default: Updating wordpress-default...
==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-wordpress-defa
ult
==> default:  * branch            master     -> FETCH_HEAD
==> default: Already up to date.
==> default: Already on 'master'
==> default: Your branch is up to date with 'origin/master'.
==> default: Creating database 'wordpress_default' (if it's not already there)
==> default:  DB operations done.
==> default: Updating WordPress Stable...
==> default: Success: WordPress is up to date.
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default:  * Added local.wordpress.dev from /srv/www/wordpress-default/provis
ion/vvv-hosts
==> default:  * Added local.wordpress.test from /srv/www/wordpress-default/provi
sion/vvv-hosts
==> default:  * Added local.wordpress.test from /vagrant/vvv-custom.yml
==> default:  * Restarting nginx nginx
==> default:    ...done.
==> default: Running provisioner: site-wordpress-develop (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-6wn566.sh
==> default: Updating wordpress-develop...
==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-wordpress-deve
lop
==> default:  * branch            master     -> FETCH_HEAD
==> default: Already up to date.
==> default: Already on 'master'
==> default: Your branch is up to date with 'origin/master'.
==> default: Creating database 'wordpress_develop' (if it's not already there)
==> default:  DB operations done.
==> default: Updating WordPress develop...
==> default: Updating '.':
==> default: U    src/wp-includes/post-template.php
==> default: U    src/wp-includes/media-template.php
==> default: U    src/wp-includes/default-filters.php
==> default: U    src/wp-content/themes/twentyseventeen/front-page.php
==> default: U    src/wp-admin/js/plugin-install.js
==> default: U    tests/phpunit/tests/user/author.php
==> default: U    tests/phpunit/tests/post/template.php
==> default:
==> default: Fetching external item into 'tests/phpunit/data/plugins/wordpress-i
mporter':
==> default: Updated external to revision 1802960.
==> default: At revision 42445.
==> default: Updating npm packages...
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default:  * Added src.wordpress-develop.test from /srv/www/wordpress-develop
/provision/vvv-hosts
==> default:  * Added build.wordpress-develop.test from /srv/www/wordpress-devel
op/provision/vvv-hosts
==> default:  * Added src.wordpress-develop.dev from /srv/www/wordpress-develop/
provision/vvv-hosts
==> default:  * Added build.wordpress-develop.dev from /srv/www/wordpress-develo
p/provision/vvv-hosts
==> default:  * Added src.wordpress-develop.test from /vagrant/vvv-custom.yml
==> default:  * Added build.wordpress-develop.test from /vagrant/vvv-custom.yml
==> default:  * Restarting nginx nginx
==> default:    ...done.
==> default: Running provisioner: site-keptn-shop (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-17jomk2.sh
==> default:
==> default: Updating keptn-shop...
==> default: From https://github.com/Varying-Vagrant-Vagrants/custom-site-templa
te
==> default:  * branch            master     -> FETCH_HEAD
==> default: Already up to date.
==> default: Already on 'master'
==> default: Your branch is up to date with 'origin/master'.
==> default: Creating database 'keptnshop' (if it's not already there)
==> default:  DB operations done.
==> default: Updating WordPress Stable...
==> default: Success: WordPress is up to date.
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default:  * Added keptn-shop.test from /vagrant/vvv-custom.yml
==> default:  * Restarting nginx nginx
==> default:    ...done.
==> default: Running provisioner: site-xxx-xxx-xxx.de (shell)...
    default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368
0-1dshwgi.sh
==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default:  * Added xxx-xxx-xxx.de.test from /vagrant/vvv-custom.yml
==> default:  * Restarting nginx nginx
==> default: nginx: [emerg] open() "/srv/www/xxx-xxx-xxx.de/log/error.log" faile
d (2: No such file or directory)
==> default: nginx: configuration file /etc/nginx/nginx.conf test failed
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

D:\daten-VDL2\VVV>
tomjn commented 6 years ago

The error is right at the end, I would advise against using a full URL as the name of your site but it is hard to tell if that's the issue when you've swapped out letters for xxx to hide things. My current guess is that you have an invalid character in there

Either way creating the log file it's saying is missing should help. It should end with a direction to visit the dashboard, not an error On Mon, 15 Jan 2018 at 07:25, SVAR7BERG notifications@github.com wrote:

Okay, so I hope this is enough as I realized too late that I have to increase the consoles buffer.

I first did "vagrant halt" and then "vagrant up --provision" (btw, is it normal that starting VVV and provisioning takes up to 15 minutes???)

==> default: Setting hostname... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => D:/daten-VDL2/VVV default: /srv/www => D:/daten-VDL2/VVV/www default: /srv/log => D:/daten-VDL2/VVV/log default: /srv/config => D:/daten-VDL2/VVV/config default: /srv/database => D:/daten-VDL2/VVV/database ==> default: Running provisioner: fix-no-tty (shell)... default: Running: inline script ==> default: Running provisioner: default (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-uwt41s.sh ==> default: Network connection detected... ==> default: Bash profile setup and directories. ==> default: sending incremental file list ==> default: deleting develop_git ==> default: db_backup ==> default: db_restore ==> default: makepot ==> default: vagrant_destroy ==> default: vagrant_halt ==> default: vagrant_suspend ==> default: vagrant_up ==> default: xdebug_off ==> default: xdebug_on ==> default: ==> default: sent 2.49K bytes received 202 bytes 5.38K bytes/sec ==> default: total size is 3.29K speedup is 1.22 ==> default: Copied /srv/config/bash_profile to /home/va grant/.bash_profile ==> default: Copied /srv/config/bash_aliases to /home/va grant/.bash_aliases ==> default: Copied /srv/config/vimrc to /home/va grant/.vimrc ==> default: Copied /srv/config/subversion-servers to /home/va grant/.subversion/servers ==> default: Copied /srv/config/subversion-config to /home/va grant/.subversion/config ==> default: rsync'd /srv/config/homebin to /home/va grant/bin ==> default: Network connection detected... ==> default: ==> default: Main packages check and install. ==> default: Adding ppa:git-core/ppa repository ==> default: php7.0-fpm 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-cli 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-common 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-dev 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php-pear 1:1.10.5+sub modules+notgz-1+ubuntu14.04.1+deb.sury.org+1 ==> default: php-imagick 3.4.3-3+ubun tu14.04.1+deb.sury.org+1 ==> default: php-memcache 3.0.9~201603 11.4991c2f-7+ubuntu14.04.1+deb.sury.org+1 ==> default: php-memcached 3.0.4+2.2.0- 1+ubuntu14.04.1+deb.sury.org+1 ==> default: php-ssh2 1.1.2+0.13-1 +ubuntu14.04.1+deb.sury.org+1 ==> default: php-xdebug 2.5.5-3+ubun tu14.04.1+deb.sury.org+1 ==> default: php7.0-bcmath 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-curl 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-gd 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-mbstring 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-mcrypt 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-mysql 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-imap 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-json 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-soap 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-xml 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: php7.0-zip 7.0.27-1+ubu ntu14.04.1+deb.sury.org+1 ==> default: nginx 1.13.8-1~tru sty ==> default: memcached 1.4.14-0ubun tu9.1 ==> default: mariadb-server 10.1.30+mari a-1~trusty ==> default: imagemagick 8:6.7.7.10-6 ubuntu3.9 ==> default: subversion 1.8.8-1ubunt u3.3 ==> default: git 1:2.15.1-1~p pa0~ubuntu14.04.1 ==> default: zip 3.0-8 ==> default: unzip 6.0-9ubuntu1 .5 ==> default: ngrep 1.45.ds2-12 ==> default: curl 7.35.0-1ubun tu2.13 ==> default: make 3.81-8.2ubun tu3 ==> default: vim 2:7.4.052-1u buntu3.1 ==> default: colordiff 1.0.13-1 ==> default: postfix 2.11.0-1ubun tu1.2 ==> default: python-pip 1.5.4-1ubunt u4 ==> default: ntp 1:4.2.6.p5+d fsg-3ubuntu2.14.04.12 ==> default: gettext 0.18.3.1-1ub untu3 ==> default: graphviz 2.36.0-0ubun tu3.2 ==> default: dos2unix 6.0.4-1 ==> default: g++ 4:4.8.2-1ubu ntu6 ==> default: nodejs 6.12.3-1node source1 ==> default: libsqlite3-dev 3.8.2-1ubunt u2.1 ==> default: Linked custom apt sources ==> default: No apt packages to install. ==> default: php7.0-fpm stop/waiting ==> default: php7.0-fpm start/running, process 8583 ==> default: Updating nvm... ==> default: From https://github.com/creationix/nvm ==> default: branch master -> FETCH_HEAD ==> default: 9273f23..d34bb32 master -> origin/master ==> default: error: Your local changes to the following files would be overwritt en by merge: ==> default: README.md ==> default: install.sh ==> default: Please commit your changes or stash them before you merge. ==> default: Aborting ==> default: Updating 9273f23..d34bb32 ==> default: error: The following untracked working tree files would be overwrit ten by checkout: ==> default: .dockerignore ==> default: .gitattributes ==> default: .github/ISSUE_TEMPLATE.md ==> default: .gitignore ==> default: .mailmap ==> default: .npmrc ==> default: .travis.yml ==> default: CONTRIBUTING.md ==> default: Dockerfile ==> default: LICENSE.md ==> default: Makefile ==> default: README.md ==> default: ROADMAP.md ==> default: bash_completion ==> default: install.sh ==> default: nvm-exec ==> default: nvm.sh ==> default: package.json ==> default: test/common.sh ==> default: test/fast/Aliases/circular/nvm_resolve_alias ==> default: test/fast/Aliases/circular/nvm_resolve_local_alias ==> default: test/fast/Aliases/circular/setup ==> default: test/fast/Aliases/circular/teardown ==> default: test/fast/Aliases/lts/setup_dir ==> default: test/fast/Aliases/lts/teardown_dir ==> default: test/fast/Aliases/nvm_ensure_default_set ==> default: test/fast/Aliases/nvm_resolve_alias ==> default: test/fast/Aliases/nvm_resolve_local_alias ==> default: test/fast/Aliases/setup ==> default: test/fast/Aliases/teardown ==> default: test/fast/Listing paths/teardown ==> default: test/fast/Listing versions/Using a nonstandard IFS should not br eak ==> default: test/fast/Listing versions/teardown ==> default: test/fast/Sourcing nvm.sh should make the nvm command available.

==> default: test/fast/Sourcing nvm.sh should not modify parameters of caller

==> default: test/fast/Unit tests/iojs_version_has_solaris_binary ==> default: test/fast/Unit tests/mocks/iojs.org-dist-index.tab ==> default: test/fast/Unit tests/mocks/nodejs.org-dist-index.tab ==> default: test/fast/Unit tests/mocks/nvm ls-remote iojs.txt ==> default: test/fast/Unit tests/mocks/nvm ls-remote lts.txt ==> default: test/fast/Unit tests/mocks/nvm ls-remote node.txt ==> default: test/fast/Unit tests/mocks/nvm ls-remote.txt ==> default: test/fast/Unit tests/mocks/nvm_ls_remote LTS argon.txt ==> default: test/fast/Unit tests/mocks/nvm_ls_remote LTS.txt ==> default: test/fast/Unit tests/mocks/nvm_ls_remote stable.txt ==> default: test/fast/Unit tests/mocks/nvm_ls_remote.txt ==> default: test/fast/Unit tests/mocks/nvm_ls_remote_iojs.txt ==> default: test/fast/Unit tests/mocks/nvm_make_alias LTS alias calls.txt ==> default: test/fast/Unit tests/mocks/nvm_print_implicit_alias remote stabl e.txt ==> default: test/fast/Unit tests/node_version_has_solaris_binary ==> default: test/fast/Unit tests/nvm ls-remote ==> default: test/fast/Unit tests/nvm version-remote ==> default: test/fast/Unit tests/nvm_add_iojs_prefix ==> default: test/fast/Unit tests/nvm_alias ==> default: test/fast/Unit tests/nvm_alias_path ==> default: test/fast/Unit tests/nvm_change_path ==> default: test/fast/Unit tests/nvm_checksum ==> default: test/fast/Unit tests/nvm_clang_version ==> default: test/fast/Unit tests/nvm_command_info ==> default: test/fast/Unit tests/nvm_compare_checksum ==> default: test/fast/Unit tests/nvm_compute_checksum ==> default: test/fast/Unit tests/nvm_curl_libz_support ==> default: test/fast/Unit tests/nvm_curl_use_compression ==> default: test/fast/Unit tests/nvm_curl_version ==> default: test/fast/Unit tests/nvm_default_packages ==> default: test/fast/Unit tests/nvm_die_on_prefix ==> default: test/fast/Unit tests/nvm_ensure_default_set ==> default: test/fast/Unit tests/nvm_ensure_version_installed ==> default: test/fast/Unit tests/nvm_ensure_version_prefix ==> default: test/fast/Unit tests/nvm_find_up ==> default: test/fast/Unit tests/nvm_format_version ==> default: test/fast/Unit tests/nvm_get_arch ==> default: test/fast/Unit tests/nvm_get_checksum ==> default: test/fast/Unit tests/nvm_get_checksum_alg ==> default: test/fast/Unit tests/nvm_get_latest missing curl or wget ==> default: test/fast/Unit tests/nvm_get_minor_version ==> default: test/fast/Unit tests/nvm_get_mirror ==> default: test/fast/Unit tests/nvm_has ==> default: test/fast/Unit tests/nvm_has_non_aliased ==> default: test/fast/Unit tests/nvm_has_solaris_binary ==> default: test/fast/Unit tests/nvm_has_system_iojs ==> default: test/fast/Unit tests/nvm_has_system_node ==> default: test/fast/Unit tests/nvm_install_latest_npm ==> default: test/fast/Unit tests/nvm_iojs_prefix ==> default: test/fast/Unit tests/nvm_is_alias ==> default: test/fast/Unit tests/nvm_is_iojs_version ==> default: test/fast/Unit tests/nvm_is_merged_node_version ==> default: test/fast/Unit tests/nvm_is_natural_num ==> default: test/fast/Unit tests/nvm_is_valid_version ==> default: test/fast/Unit tests/nvm_ls_current ==> default: test/fast/Unit tests/nvm_ls_remote ==> default: test/fast/Unit tests/nvm_ls_remote LTS aliases ==> default: test/fast/Unit tests/nvm_ls_remote_iojs ==> default: test/fast/Unit tests/nvm_make_alias ==> default: test/fast/Unit tests/nvm_node_prefix ==> default: test/fast/Unit tests/nvm_num_version_groups ==> default: test/fast/Unit tests/nvm_print_alias_path ==> default: test/fast/Unit tests/nvm_print_default_alias ==> default: test/fast/Unit tests/nvm_print_implicit_alias errors ==> default: test/fast/Unit tests/nvm_print_implicit_alias success ==> default: test/fast/Unit tests/nvm_print_npm_version ==> default: test/fast/Unit tests/nvm_remote_version ==> default: test/fast/Unit tests/nvm_remote_versions ==> default: test/fast/Unit tests/nvm_strip_iojs_prefix ==> default: test/fast/Unit test ==> default: Aborting ==> default: Installing/updating npm... ==> default: /usr/bin/npm -> /usr/lib/node_modules/npm/bin/npm-cli.js ==> default: /usr/bin/npx -> /usr/lib/node_modules/npm/bin/npx-cli.js ==> default: + npm@5.6.0 ==> default: updated 1 package in 70.014s ==> default: Installing/updating npm-check-updates... ==> default: /usr/bin/npm-check-updates -> /usr/lib/node_modules/npm-check-updat es/bin/npm-check-updates ==> default: /usr/bin/ncu -> /usr/lib/node_modules/npm-check-updates/bin/ncu ==> default: + npm-check-updates@2.14.0 ==> default: updated 1 package in 59.632s ==> default: ack-grep already installed ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: Updating Composer... ==> default: You are already using composer version 1.6.2 (stable channel). ==> default: Changed current directory to /usr/local/src/composer ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: ./composer.json has been updated ==> default: Changed current directory to /usr/local/src/composer ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: ./composer.json has been updated ==> default: Changed current directory to /usr/local/src/composer ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: ./composer.json has been updated ==> default: Changed current directory to /usr/local/src/composer ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: ./composer.json has been updated ==> default: Changed current directory to /usr/local/src/composer ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: Changed current directory to /usr/local/src/composer ==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: Loading composer repositories with package information ==> default: Updating dependencies (including require-dev) ==> default: Nothing to install or update ==> default: Generating autoload files ==> default: Updating Grunt CLI ==> default: Adding graphviz symlink for Webgrind... ==> default: Installing Shyaml for bash provisioning.. ==> default: Requirement already satisfied (use --upgrade to upgrade): shyaml in /usr/local/lib/python2.7/dist-packages ==> default: Cleaning up... ==> default: Setup configuration files... ==> default: Copied /srv/config/init/vvv-start.conf to /etc/ini t/vvv-start.conf ==> default: sending incremental file list ==> default: deleting vvv-auto-wordpress-develop-provision-2b2bf03d9cfabafc0746d f486a1377ae.conf ==> default: deleting vvv-auto-wordpress-default-provision-43ccb1d415c7a942e5579 7dff3e109bd.conf ==> default: deleting vvv-auto-xxx-xxx-xxx.de-provision-f3e44701b1dfbefc9a74524e 5f2e71f9.conf ==> default: deleting vvv-auto-keptn-shop-provision-c27005ee2bb4ec4d0c71ba72f900 717a.conf ==> default: default.conf ==> default: local-nginx-example.conf-sample ==> default: ==> default: sent 1.84K bytes received 356 bytes 4.40K bytes/sec ==> default: total size is 3.89K speedup is 1.77 ==> default: Copied /srv/config/nginx-config/nginx.conf to /etc/ngi nx/nginx.conf ==> default: Copied /srv/config/nginx-config/nginx-wp-common.conf to /etc/ngi nx/nginx-wp-common.conf ==> default: Rsync'd /srv/config/nginx-config/sites/ to /etc/ngi nx/custom-sites ==> default: RVM 1.29.3 ==> default: Mailcatcher 0.6.5 ==> default: Mailcatcher upstart already configured. ==> default: Mailcatcher php7 fpm already configured. ==> default: Copied /srv/config/php-config/php7.0-fpm.conf to /etc/php/7.0/ fpm/php-fpm.conf ==> default: Copied /srv/config/php-config/php7.0-www.conf to /etc/php/7.0/ fpm/pool.d/www.conf ==> default: Copied /srv/config/php-config/php7.0-custom.ini to /etc/php/7.0/ fpm/conf.d/php-custom.ini ==> default: Copied /srv/config/php-config/opcache.ini to /etc/php/7.0/ fpm/conf.d/opcache.ini ==> default: Copied /srv/config/php-config/xdebug.ini to /etc/php/7.0/ mods-available/xdebug.ini ==> default: Copied /srv/config/memcached-config/memcached.conf to /etc/mem cached.conf ==> default: Restart services... ==> default: Restarting nginx nginx ==> default: ...done. ==> default: Restarting memcached: ==> default: memcached. ==> default: mailcatcher stop/waiting ==> default: mailcatcher start/running, process 9276 ==> default: php7.0-fpm stop/waiting ==> default: php7.0-fpm start/running, process 9427 ==> default: Setup MySQL configuration file links... ==> default: Copied /srv/config/mysql-config/my.cnf to /etc/mys ql/my.cnf ==> default: Copied /srv/config/mysql-config/root-my.cnf to /home/va grant/.my.cnf ==> default: service mysql restart ==> default: Stopping MariaDB database server mysqld ==> default: ...done. ==> default: Starting MariaDB database server mysqld ==> default: ...done. ==> default: Checking for corrupt, not cleanly closed and upgrade needing tab les. ==> default: No custom MySQL scripting found in database/init-custom.sql, skippi ng... ==> default: Initial MySQL prep... ==> default: Start MariaDB Database Import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom .sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom .sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql bef ore attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sq l before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sq l before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init- custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.s ql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-cu stom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-cust om.sql before attempting import ==> default: Skipped import of keptnshop - tables exist ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init -custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql b efore attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql befor e attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create XXX database via init-custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: Error - Create tXXX database via init-custom.sql before attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'xxx-xxx-xxx.de.dev' ==> default: Error - Create xxx-xxx-xxx.de.dev database via init-custom.sql before attempting import ==> default: Skipped import of wordpress_default - tables exist ==> default: Skipped import of wordpress_develop - tables exist ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'wordpress_trunk' ==> default: Error - Create wordpress_trunk database via init-custom.sql bef ore attempting import ==> default: ERROR ==> default: 1049 (42000) ==> default: at line 1 ==> default: : Unknown database 'XXX' ==> default: * Error - Create XXX database via init-custom.sq l before attempting import ==> default: Databases imported ==> default: Network connection detected... ==> default: ==> default: Installing/updating wp-cli and debugging tools ==> default: Updating wp-cli... ==> default: Downloading from https://raw.githubusercontent.com/wp-cli/builds/gh -pages/phar/wp-cli-nightly.phar. https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar... ==> default: md5 hash verified: 1a632e376c7d2de6a16d65c098a93f75 ==> default: New version works. Proceeding to replace. ==> default: Success: Updated WP-CLI to the latest nightly release. ==> default: Install/Update PHP_CodeSniffer (phpcs), see https://github.com/squi zlabs/PHP_CodeSniffer https://github.com/squizlabs/PHP_CodeSniffer ==> default: Install/Update WordPress-Coding-Standards, sniffs for PHP_CodeSniff er, see https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards

==> default: Do not run Composer as root/super user! See https://getcomposer.org /root for details ==> default: Loading composer repositories with package information ==> default: ==> default: Reading composer.json of automattic/vipwpcs (0.2.1) ==> default: ==> default: ==> default: ==> default: Reading composer.json of automattic/vipwpcs (0.2.0) Reading composer.json of automattic/vipwpcs (0.1.0)

==> default: Reading composer.json of automattic/vipwpcs (add-closing-php-tag-an d-SuperfluousWhitespace-sniff) Reading composer.json of automattic/vipwpcs (add-commented-out-code-sniff)

Reading composer.json of automattic/vipwpcs (add-html-executing-funcitons-sniff)

Reading composer.json of automattic/vipwpcs (add-innerHTML-sniff)

==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-js-restricted-func tions.php) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-js-string-concat-s niff) ==> default: ==> default: ==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-merge-conflict-sni ff.php) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-more-restricted-co ntants) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-proper-escaping-fu nction-sniff) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-vulnerable-tags-st ripping-sniff) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (add-wp-mail-to-restric ted-functions) Reading composer.json of automattic/vipwpcs (add-write-and-writeln-to-html-execu ting-functions) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (any-url-param-should-b e-escaped-using-esc-url) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (deprecated-term-functions)

Reading composer.json of automattic/vipwpcs (detect-basic-auth-in-php) Reading composer.json of automattic/vipwpcs (fix-24/flag-strip_tags) Reading composer.json of automattic/vipwpcs (fix-25/flag-robotstxt-action) Reading composer.json of automattic/vipwpcs (fix-78/properly-reference-phpcsFile ) Reading composer.json of automattic/vipwpcs (fix-phpcs-flagged-formatting)

Reading composer.json of automattic/vipwpcs (fix-ruleset-test-eval) Reading composer.json of automattic/vipwpcs (flag-batcache-whitelisted-get-param s) Reading composer.json of automattic/vipwpcs (flag-db-delta)

Reading composer.json of automattic/vipwpcs (ignore-SuperfluousWhitespace-in-css -and-js) Reading composer.json of automattic/vipwpcs (ignore-locate-template-in-include-s niff) Reading composer.json of automattic/vipwpcs (master)

==> default: ==> default: Reading composer.json of automattic/vipwpcs (missing-exit-after-red irect) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (more-strict-html-tag-c heck-in-js-string-concat) Reading composer.json of automattic/vipwpcs (phpcs3-compat)

Reading composer.json of automattic/vipwpcs (replace-yoda-for-assignment-in-cond Reading composer.json of automattic/vipwpcs (report-on-VIP-comment) Reading composer.json of automattic/vipwpcs (restrict-is_multi_author-usage) ==> default: ==> default: Reading composer.json of automattic/vipwpcs (term-taxonomy-meta-in- options-sniff) Reading composer.json of automattic/vipwpcs (undefined-this-in-trait)

==> default: Updating dependencies (including require-dev) ==> default: Package operations: 0 installs, 1 update, 0 removals ==> default: - Updating automattic/vipwpcs dev-master (e45a3ac => d64b174): ==> default: Checking out d64b174da2 ==> default: Writing lock file ==> default: Using config file: /srv/www/phpcs/CodeSniffer.conf ==> default: ==> default: Config value "installed_paths" updated successfully; old value was "./CodeSniffer/Standards/WordPress/,./CodeSniffer/Standards/VIP-Coding-Standards /" ==> default: Using config file: /srv/www/phpcs/CodeSniffer.conf ==> default: ==> default: Config value "default_standard" updated successfully; old value was "WordPress-Core" ==> default: The installed coding standards are MySource, PEAR, PSR1, PSR2, Squi z, Zend, WordPress, WordPress-Core, WordPress-Docs, WordPress-Extra, WordPress-V IP and WordPressVIPMinimum ==> default: Network connection detected... ==> default: ==> default: ==> default: Cleaning the virtual machine's /etc/hosts file... ==> default: ----------------------------- ==> default: Provisioning complete in 526 seconds ==> default: For further setup instructions, visit http://vvv.test ==> default: Running provisioner: utility-source-core (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-180cli2.sh ==> default: ==> default: Updating core resources... ==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-utilities ==> default: branch master -> FETCH_HEAD ==> default: Already up to date. ==> default: Already on 'master' ==> default: Your branch is up to date with 'origin/master'. ==> default: Running provisioner: utility-core-memcached-admin (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-oi5241.sh ==> default: phpMemcachedAdmin already installed. ==> default: Running provisioner: utility-core-opcache-status (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-w5wzqd.sh ==> default: Updating Opcache Status ==> default: From https://github.com/rlerdorf/opcache-status ==> default: branch master -> FETCH_HEAD ==> default: Already up to date. ==> default: Current branch master is up to date. ==> default: Running provisioner: utility-core-phpmyadmin (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-p4on54.sh ==> default: PHPMyAdmin already installed. ==> default: Running provisioner: utility-core-webgrind (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-t1vmu3.sh ==> default: Updating webgrind... ==> default: From https://github.com/jokkedk/webgrind ==> default: branch master -> FETCH_HEAD ==> default: Already up to date. ==> default: Current branch master is up to date. ==> default: Running provisioner: site-wordpress-default (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-1hmlfwd.sh ==> default: Updating wordpress-default... ==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-wordpress-defa ult ==> default: branch master -> FETCH_HEAD ==> default: Already up to date. ==> default: Already on 'master' ==> default: Your branch is up to date with 'origin/master'. ==> default: Creating database 'wordpress_default' (if it's not already there) ==> default: DB operations done. ==> default: Updating WordPress Stable... ==> default: Success: WordPress is up to date. ==> default: Adding domains to the virtual machine's /etc/hosts file... ==> default: Added local.wordpress.dev from /srv/www/wordpress-default/provis ion/vvv-hosts ==> default: Added local.wordpress.test from /srv/www/wordpress-default/provi sion/vvv-hosts ==> default: Added local.wordpress.test from /vagrant/vvv-custom.yml ==> default: Restarting nginx nginx ==> default: ...done. ==> default: Running provisioner: site-wordpress-develop (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-6wn566.sh ==> default: Updating wordpress-develop... ==> default: From https://github.com/Varying-Vagrant-Vagrants/vvv-wordpress-deve lop ==> default: branch master -> FETCH_HEAD ==> default: Already up to date. ==> default: Already on 'master' ==> default: Your branch is up to date with 'origin/master'. ==> default: Creating database 'wordpress_develop' (if it's not already there) ==> default: DB operations done. ==> default: Updating WordPress develop... ==> default: Updating '.': ==> default: U src/wp-includes/post-template.php ==> default: U src/wp-includes/media-template.php ==> default: U src/wp-includes/default-filters.php ==> default: U src/wp-content/themes/twentyseventeen/front-page.php ==> default: U src/wp-admin/js/plugin-install.js ==> default: U tests/phpunit/tests/user/author.php ==> default: U tests/phpunit/tests/post/template.php ==> default: ==> default: Fetching external item into 'tests/phpunit/data/plugins/wordpress-i mporter': ==> default: Updated external to revision 1802960. ==> default: At revision 42445. ==> default: Updating npm packages... ==> default: Adding domains to the virtual machine's /etc/hosts file... ==> default: Added src.wordpress-develop.test from /srv/www/wordpress-develop /provision/vvv-hosts ==> default: Added build.wordpress-develop.test from /srv/www/wordpress-devel op/provision/vvv-hosts ==> default: Added src.wordpress-develop.dev from /srv/www/wordpress-develop/ provision/vvv-hosts ==> default: Added build.wordpress-develop.dev from /srv/www/wordpress-develo p/provision/vvv-hosts ==> default: Added src.wordpress-develop.test from /vagrant/vvv-custom.yml ==> default: Added build.wordpress-develop.test from /vagrant/vvv-custom.yml ==> default: Restarting nginx nginx ==> default: ...done. ==> default: Running provisioner: site-keptn-shop (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-17jomk2.sh ==> default: ==> default: Updating keptn-shop... ==> default: From https://github.com/Varying-Vagrant-Vagrants/custom-site-templa te ==> default: branch master -> FETCH_HEAD ==> default: Already up to date. ==> default: Already on 'master' ==> default: Your branch is up to date with 'origin/master'. ==> default: Creating database 'keptnshop' (if it's not already there) ==> default: DB operations done. ==> default: Updating WordPress Stable... ==> default: Success: WordPress is up to date. ==> default: Adding domains to the virtual machine's /etc/hosts file... ==> default: Added keptn-shop.test from /vagrant/vvv-custom.yml ==> default: Restarting nginx nginx ==> default: ...done. ==> default: Running provisioner: site-xxx-xxx-xxx.de (shell)... default: Running: C:/Users/VDL2/AppData/Local/Temp/vagrant-shell20180115-368 0-1dshwgi.sh ==> default: Adding domains to the virtual machine's /etc/hosts file... ==> default: Added xxx-xxx-xxx.de.test from /vagrant/vvv-custom.yml ==> default: * Restarting nginx nginx ==> default: nginx: [emerg] open() "/srv/www/xxx-xxx-xxx.de/log/error.log" faile d (2: No such file or directory) ==> default: nginx: configuration file /etc/nginx/nginx.conf test failed The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.

D:\daten-VDL2\VVV>

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Varying-Vagrant-Vagrants/VVV/issues/1403#issuecomment-357601425, or mute the thread https://github.com/notifications/unsubscribe-auth/AADl5yui-_ECHJI0RatzgD3l2mbXmJwSks5tKv1DgaJpZM4RcUFa .

SVAR7BERG commented 6 years ago

Okay so I already guessed that the name is not the problem but I gave it a try anyway.

Basically in the post above, the host was something like "abc-def-ghi.de.test", so only letters and dashes.

I now tried to rename everything to "vds" so the new host is vds.test.

Sadly I get the same error :(

What about the nginx: [emerg] open() "/srv/www/vds/log/error.log" failed (2: No such file or directory)? There isn't even a /log folder in my /www/vds/ folder. Wouldn't VVV create it?

==> default: Adding domains to the virtual machine's /etc/hosts file...
==> default:  * Added vds.test from /vagrant/vvv-custom.yml
==> default:  * Restarting nginx nginx
==> default: nginx: [emerg] open() "/srv/www/vds/log/error.log" failed (2: No su
ch file or directory)
==> default: nginx: configuration file /etc/nginx/nginx.conf test failed
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
nerrad commented 6 years ago

From my perspective, the error in the output seems pretty clear:

==> default: nginx: [emerg] open() "/srv/www/vds/log/error.log" failed (2: No su
ch file or directory)

Either:

Just thought I'd chime in because when I've seen this error myself its nearly always been solved by creating a log directory in my website folder on the local host machine and then doing a reprovision.

Alternatively, you can ssh into vagrant and create the log folder directly then sudo nginx reload if you want.

SVAR7BERG commented 6 years ago

Creating a /log folder did the job. Is that the solution? To create it?

As I said, I copied the content of my /www folder to the new VVV2's /www folder. Is that the crux?

nerrad commented 6 years ago

Yes VVV v1 did not have per site logs setup in the default nginx rules. So if you copied the default VVV2 configuration as is in the docs, those require a log folder in your www/{site} folder. So any migrated existing sites would need that created.

tomjn commented 6 years ago

Interesting, this is likely because the custom site template repo was added on top of a site that already exists. That nginx config specifies logs in the logs folder, which didn't exist.

I'm going to close this now that things are working

lock[bot] commented 4 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.