pim-community-dev icon indicating copy to clipboard operation
pim-community-dev copied to clipboard

your install instructions do not work

Open MrTortoise opened this issue 4 years ago • 8 comments
trafficstars

docker run -ti -u www-data --rm
-v $(pwd):/srv/pim -v ~/.composer:/var/www/.composer -w /srv/pim
akeneo/pim-php-dev:5.0 php /usr/local/bin/composer create-project
akeneo/pim-community-standard /srv/pim "5.0.*@stable" Creating a "akeneo/pim-community-standard" project at "./" Cannot create cache directory /var/www/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /var/www/.cache/composer/files/, or directory is not writable. Proceeding without cache Cannot create cache directory /var/www/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache Installing akeneo/pim-community-standard (v5.0.46)

  • Downloading akeneo/pim-community-standard (v5.0.46)
  • Installing akeneo/pim-community-standard (v5.0.46): Extracting archive Created project in /srv/pim Cannot create cache directory /var/www/.cache/composer/repo/https---repo.packagist.org/, or directory is not writable. Proceeding without cache Cannot create cache directory /var/www/.cache/composer/files/, or directory is not writable. Proceeding without cache Loading composer repositories with package information Updating dependencies

Some info would be great, however I am going to evaluate the next PIM on my list

MrTortoise avatar Sep 17 '21 11:09 MrTortoise

Hello MrTortoise, maybe you could describe your problem with more precision. If you want some help it's would be great to tell us what did you try, what command did you launch, ...

That being said if you need help Stackoverflow will probably provide more help than Github which is is more related to bug

pierrejolly avatar Sep 17 '21 20:09 pierrejolly

I think he has the problem that he calls the docker file as in line 1 shown:

docker run -ti -u www-data --rm

and your "automated docker build" is failing... so its your bug and not a problem on OSI level 8 ? 😄

My "manual setup" is working ok'isch but when I checked the update path I found several bugs in your documentation ... Where e.g. is the API FPM pool in installation documentation which is referenced in migration documentation ???

Reiner030 avatar Sep 21 '21 13:09 Reiner030

@MrTortoise Sorry that my answer won't help you, as you likely already chose another PIM. Maybe it will help someone else.

The easiest solution is to download the zip file (or you will deal with directory is not writable twice). Afterwards, you edit the docker-compose.yaml and set up the composer home and yarn home dirs with absolute paths like /home/user/.composer and /home/user/.cache/yarn. Also, don't forget to: $ mkdir -p ~/.cache/yarn && chmod 775 -R ~/.cache && chown 1000:1000 -R ~/.cache $ mkdir -p ~/.composer/cache && chmod 775 -R ~/.composer && chown 1000:1000 -R ~/.composer

If you follow instructions on a clean install of Ubuntu 20.04 or 22.04 you will not be able to run Akeneo 4.0, nor Akeneo 5.0 nor Akeneo 6.0. You won't also be able to restore the database backup, because if you do it, Akeneo will not detect products from DB. If you manage to install some extension, your instance will stop working, because cleaning cache is necessary and it trashes the permissions. If you're not experienced in Akeneo management, do yourself a favour and get something else. We are using Akeneo for 2yrs already and it's a good PIM, but the docs is not that great and it lacks a lot of basic aspects.

mikolodz avatar Aug 01 '22 16:08 mikolodz

If you follow instructions on a clean install of Ubuntu 20.04 or 22.04 you will not be able to run Akeneo 4.0, nor Akeneo 5.0 nor Akeneo 6.0. You won't also be able to restore the database backup, because if you do it, Akeneo will not detect products from DB. If you manage to install some extension, your instance will stop working, because cleaning cache is necessary and it trashes the permissions. If you're not experienced in Akeneo management, do yourself a favour and get something else.

@mikolodz No wonder. I have been trying and modifying both docker and manual installations for Akeneo in hopes I could run Akeneo for production use but felt like something was missing. Damn, thought I could easily tie Akeneo up with Odoo. It would have been perfect... Actually, do you mind providing some tips in 'converting' the current Akeneo CE 6.0 archive to better allow for production use, plus enable 3rd party extensions to be installed with everything running smoothly? I've been eyeing some webkul extensions... Some pointers would be highly appreciated :) Please and thank you!

hansonc28 avatar Sep 20 '22 16:09 hansonc28

If you follow instructions on a clean install of Ubuntu 20.04 or 22.04 you will not be able to run Akeneo 4.0, nor Akeneo 5.0 nor Akeneo 6.0. You won't also be able to restore the database backup, because if you do it, Akeneo will not detect products from DB. If you manage to install some extension, your instance will stop working, because cleaning cache is necessary and it trashes the permissions. If you're not experienced in Akeneo management, do yourself a favour and get something else.

@mikolodz No wonder. I have been trying and modifying both docker and manual installations for Akeneo in hopes I could run Akeneo for production use but felt like something was missing. Damn, thought I could easily tie Akeneo up with Odoo. It would have been perfect... Actually, do you mind providing some tips in 'converting' the current Akeneo CE 6.0 archive to better allow for production use, plus enable 3rd party extensions to be installed with everything running smoothly? I've been eyeing some webkul extensions... Some pointers would be highly appreciated :) Please and thank you!

@hansonc28 Actually we are using Akeneo along with Odoo v14e. It's possible to make it work using the Webkul connector, but you must be patient with them or be prepared to pay them another $1000 to make it usable (aka "customisation"). I haven't been using Akeneo 6.0, but Akeneo 4.0. The connector I've bought from Webkul was not compatible with Akeneo > 4.0, because it lacks "quick export to Odoo" menu item on the product list and I didn't have a chance to spend time to fix it myself. Otherwise, I believe you should be able to set up Akeneo 6.0 using the hint I gave above (paths and privileges). If you want we can share some experiences or even split customisation costs :P Let me know if you're interested. Regards, Michal

mikolodz avatar Sep 21 '22 14:09 mikolodz

@mikolodz Sure, let's talk about Akeneo + Odoo!

Anyway, Odoo really did something right with their open-core concept and friendlier to beginners approach, as highlighted by @melck here (https://github.com/akeneo/pim-community-dev/issues/14948) which I think if Akeneo mimics, would lead to widespread adoption, especially in countries with weaker currencies, that is, if Akeneo is targeting SMEs at all. The barrier of entry to using Akeneo CE in production is fairly high that most people won't even want to evaluate using Akeneo at all. I know and have heard quite a few local companies here who've moved from Odoo CE to EE even if it has taken them years to do so. I thought the goal was to have a CE version for companies to use and eventually grow out of to then start using the EE version.

No offence to the owners, just voicing my opinion.

hansonc28 avatar Sep 22 '22 07:09 hansonc28

@hansonc28 Pls feel free to contact me on the email in my profile

mikolodz avatar Sep 22 '22 15:09 mikolodz

Hey @mikolodz I've emailed you 3 days ago. Pinging you here just in case you missed it

hansonc28 avatar Sep 25 '22 13:09 hansonc28