Report any technical problems you discover and discuss solutions.

Can't import

  • engmex_2
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 1 maand geleden #6699 door engmex_2
Can't import werd gestart door engmex_2
Hi I'm trying to import a deployment.zip I created some time ago into Xerte 3.8. However, I unable to do so. I have changed the max_filesize and max_size values in apache2 php.config. I'm running Xerte on Debian Linux 10. I'm getting the following error from Apache:
[Thu Jul 02 12:38:03.782688 2020] [php7:notice] [pid 31690] [client ::1:41980] Unable to move uploaded project file to imported file: From: To: /home/me/www/xertetoolkits_3.8/import/163720342/1593711483a1-01-extras_deployment.zip, referer:/localhost/workspaceproperties.php
The permissions on the import directory are:
drwxrwxrwx 2 me me 4096 Jul 2 12:50 import
Why?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
6 jaren 1 maand geleden #6700 door tom
Beantwoord door tom in topic Can't import
You're running on Debian, so I would expect apache to run under user www-data:www-data.

Even though the permissions of the import folder are wide open, it still is possible that the apache user cannot save the file. I normally change the ownership of the whole xerte installation folder to the apache user, i.e. something like
Code:
chown -R www-data:www-data /home/me/www/xertetoolkits_3.8

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • engmex_2
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
6 jaren 1 maand geleden #6701 door engmex_2
Beantwoord door engmex_2 in topic Can't import
Hello, Thanks for the reply
me@Station-Z:~$ sudo chown -R www-data:www-data /home/me/www/xertetoolkits_3.8
sudo chown -R www-data:www-data /home/me/www/uploads_tmp_dir/
sudo service apache2 restart
sudo tail -2 /var/log/apache2/error.log
[Thu Jul 02 16:35:41.715498 2020] [core:notice] [pid 3780] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jul 02 16:35:58.964506 2020] [php7:notice] [pid 3782] [client ::1:45094] Unable to move uploaded project file to imported file: From: To: /home/me/www/xertetoolkits_3.8/import/1744082148/1593725758a1-01-extras_deployment.zip, referer: /localhost/workspaceproperties.php
It's the same! Do you notice in the error log that it doesn't say the "From File:" Could this be the problem? I have placed the orginal file in the uploads_tmp_dir, which is also now owned by www-data

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.137 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo