Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

install_shopware fails #59

Open
HerHde opened this issue Dec 12, 2019 · 1 comment
Open

install_shopware fails #59

HerHde opened this issue Dec 12, 2019 · 1 comment

Comments

@HerHde
Copy link

HerHde commented Dec 12, 2019

Greetings,

unfortunately the install_shopware command fails with the following log:

vagrant@shopware:~$ install_shopware
Cloning into 'shopware'...
remote: Enumerating objects: 87, done.
remote: Counting objects: 100% (87/87), done.
remote: Compressing objects: 100% (61/61), done.
remote: Total 310971 (delta 40), reused 56 (delta 26), pack-reused 310884
Receiving objects: 100% (310971/310971), 229.32 MiB | 13.65 MiB/s, done.
Resolving deltas: 100% (202954/202954), done.
Checking connectivity... done.
Checking out files: 100% (9479/9479), done.
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /home/vagrant/www/shopware/build/build.xml

write-properties:
[propertyfile] Creating new property file: /home/vagrant/www/shopware/build/build.properties

BUILD SUCCESSFUL
Total time: 0 seconds
Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar
Buildfile: /home/vagrant/www/shopware/build/build.xml

check-composer-binary:

install-composer-binary:
     [exec] All settings correct for using Composer
     [exec] Downloading...
     [exec] 
     [exec] Composer (version 1.9.1) successfully installed to: /home/vagrant/www/shopware/composer.phar
     [exec] Use it: php composer.phar
     [exec]

update-composer-binary:
     [exec] You are already using composer version 1.9.1 (stable channel).

build-composer-install:
     [exec] Loading composer repositories with package information
     [exec] Installing dependencies (including require-dev) from lock file
     [exec] Package operations: 147 installs, 0 updates, 0 removals
     [exec]   - Installing ocramius/package-versions (1.4.2): Loading from cache
     [exec] Plugin installation failed, rolling back
     [exec]   - Removing ocramius/package-versions (1.4.2)
     [exec] 
     [exec]
     [exec]   [RuntimeException]
     [exec]   Could not delete /home/vagrant/www/shopware/vendor/ocramius/package-versions/src/PackageVersions:
     [exec]
     [exec]
     [exec] install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
     [exec]

BUILD FAILED
/home/vagrant/www/shopware/build/build.xml:98: exec returned: 1

Total time: 2 seconds

Running Vagrant 2.2.6 on Win 10
I ran changephp_7.2 inside the box, so

$ php -version
PHP 7.2.25-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Nov 28 2019 07:41:59) ( NTS )

Also I uncommented the following line in the Vagrantfile:

config.vm.synced_folder "../src", "/home/vagrant/www/shopware", create: true;

Any tips?

@HerHde
Copy link
Author

HerHde commented Dec 12, 2019

This problem lies upstream and is addressed at Ocramius/PackageVersions/issues/107.
A workaround is also mentioned, wich did not worked for me: Ocramius/PackageVersions#107 (comment)

Also, after downgrading to VirtualBox 6.0.4 and recreating the VM the problem persists.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant