Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Change the permissions of the "/tmp/pim/upload_tmp_dir" directory #90

Open
LaureBrosseau opened this issue Oct 5, 2017 · 6 comments

Comments

@LaureBrosseau
Copy link
Contributor

This directory is not created automatically when you install the 2.0, but it is required to run the migration /tmp/pim/upload_tmp_dir.
A workaround is to create it manually + chmod 777 to skip this step.

@LaurentPetard
Copy link
Collaborator

I didn't reproduce this issue. The directory /tmp/pim/upload_tmp_dir. is well created during the PIM 2.0 installation.

However I think that checking the PIM 2.0 requirements is useless, because Transporteo don't install the PIM.

@jdmcd12
Copy link

jdmcd12 commented Nov 30, 2017

@laurebro I have seen this when Akeneo hasn't been installed correctly. If you follow through this it should be ok.

https://docs.akeneo.com/2.0/install_pim/manual/installation_ce_archive.html

@Warren-D-Johnson
Copy link

It depends what user you're using when installing the software. I installed it as root so when it created folders in /tmp they were owned by root. PHP and Apache run under a different user that doesn't have write access to the folder in tmp created by root. The software installation does what its supposed to but it can't account for what user you're using to install it and what user you're running php-fpm and apache (or nginx) as.

@HOSTED-POWER
Copy link

This gives problems for sure when server is shared with multiple users...

ls /tmp -alht | grep pim
drwxrwxr-x   4 userA userA 46 Nov 12 13:09 pim

As soon as userB wants to install the pim as well, bingo, it cannot work :(

@Sil-B
Copy link

Sil-B commented Dec 6, 2019

Any news on this issue?

@asenges
Copy link

asenges commented Nov 8, 2021

I have the same Issue on Akeneo 5.

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

No branches or pull requests

6 participants