Hello, mates.
I’m trying to import a csv file that media files in the Wordpress media.
I’ve done the mapping with the ‘special_document’ and ‘special_document’ and it doesn’t mark an error except in one, is the next:
[2024-01-20 02:14:52] Error publishing, Item Title: Santo Domingo de Guzmán
[2024-01-20 02:14:52] Error publishing, Item ID: 906561
[2024-01-20 02:14:52] Array
But, it upload the media and update the item.
My csv file contain 20,975 items to import and i have the last versions of wordpress, php and mariadb. What’s the mistake?
Greetings!
Hi @erickml, welcome to our forum!
Is the error message that ou appointed coming from the default log file or the error log file? If there is an error file, can you share it’s content? There should be at list a more clear explanation for why only this guy didn’t work… By the way you can try to re-import the CSV file, this time only including this item’s line, to see if it help identify the issue. How is the special_document field set there?
Thanks for the support.
The error comes from the default error log: Tainacan plugin > Activities > Processes.
In my error.log appear it:
[Mon Jan 22 10:33:56.772288 2024] [php:notice] [pid 72736] [client 172.21.115.85:53814] WordPress database error Disk full (/tmp/#sql-temptable-263-9e43-90.MAI); waiting for someone to free some space… (err>[Mon Jan 22 10:48:37.277041 2024] [mpm_prefork:notice] [pid 13848] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jan 22 10:48:37.759586 2024] [mpm_prefork:notice] [pid 74889] AH00163: Apache/2.4.56 (Debian) configured – resuming normal operations
[Mon Jan 22 10:48:37.759661 2024] [core:notice] [pid 74889] AH00094: Command line: ‘/usr/sbin/apache2’
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
[Mon Jan 22 11:11:33.044043 2024] [php:notice] [pid 75512] [client 172.17.175.91:44388] Exception: [save_remote_file]:Not Found in /var/www/html/wp-content/plugins/tainacan/classes/class-tainacan-media.php:11>
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
sh: 1: /usr/sbin/sendmail: not found
[Mon Jan 22 12:03:00.955273 2024] [php:notice] [pid 86421] [client 172.17.175.91:33078] Exception: [save_remote_file]:Not Found in /var/www/html/wp-content/plugins/tainacan/classes/class-tainacan-media.php:11>[Mon Jan 22 13:36:16.716670 2024] [mpm_prefork:notice] [pid 74889] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jan 22 13:36:21.912027 2024] [mpm_prefork:notice] [pid 89887] AH00163: Apache/2.4.56 (Debian) configured – resuming normal operations
[Mon Jan 22 13:36:21.912079 2024] [core:notice] [pid 89887] AH00094: Command line: ‘/usr/sbin/apache2’
Later, i’ve imported the csv as you tell me and it seems correct without mistakes.
What could have been the mistake? Probably my first csv contained a lot of elements?
As I said you, i was importing 20,000 elements.
Uhm… I don’t think number of items should make a difference in this case… Maybe it was a temporary lack of availability of your server to process the background operation… but with the current information its hard to assure.
Glad it worked anyways