eltrino / diamantedesk-application

DiamanteDesk
http://diamantedesk.com/
Other
118 stars 42 forks source link

Install fails on Embedded Forms with docker container #39

Open bensulli opened 7 years ago

bensulli commented 7 years ago

Hi,

I'm using the official Docker container and the install fails on "Embedded Forms". I don't think I'm doing anything unusual, so this seems like a problem with the official image, but that's just my speculation.

Oro_install.log says:

[2017-02-25 05:14:10] Launching "diamante:embeddedform:install" command

  [InvalidArgumentException]
  There are no commands defined in the "diamante:embeddedform" namespace.

Command "diamante:embeddedform:install" executed in 0 second(s), memory usage: 2.70Mb
odi-um commented 7 years ago

Hi @bensulli,

Image was not rebuilt in a while. Could you please connect to yours container and execute git pull command in /var/www/diamante folder. This will pull new changes from github.

mikaoelitiana commented 7 years ago

This would not solve this issue for me. Instead, I have missing class problem after pulling

PHP Fatal error:  Class 'Diamante\\DistributionBundle\\Routing\\RoutingVoterProvider' not found in /var/www/diamante/app/cache/prod/appProdProjectContainer.php on line 2, referer: http://192.168.22.36:8023/installer/flow/oro_installer/schema
07/08/2017 12:03:4710.0.1.2 - - [07/Aug/2017:09:03:47 +0000] "GET /installer/flow/oro_installer/schema HTTP/1.1" 500 185 "http://192.168.22.36:8023/installer/flow/oro_installer/schema" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36"
odi-um commented 7 years ago

@mikaoelitiana have you cleared up the cache after pulling ? seems cache contains information about the class which is not there anymore.

mikaoelitiana commented 7 years ago

I didn't cleared the cache but will try again now. I also need to run composer install right?

mikaoelitiana commented 7 years ago

composer didn't work for me, it's stuck on oro/plateform download.

mikaoelitiana commented 7 years ago

I finally solved it by re-building the docker image with the dockerfile provided at https://github.com/eltrino/diamantedesk-docker

odi-um commented 7 years ago

@mikaoelitiana Could you attach output from composer why it was stuck on oro/platform package ?

bensulli commented 7 years ago

Sorry, I've moved into other projects - please feel free to close if no longer useful. Thank you!

mikaoelitiana commented 7 years ago

I finally solved it by rebuilding the docker image using the Dockerfile @ github.com/eltrino/diamantedesk-docker

lghamie commented 6 years ago

How did you re-build the image? I'm getting

" Problem 1

Do I have to hold back oro version? or move to newer php?