Tentando deletar um fundo completamente.

24 views
Skip to first unread message

ritactc...@gmail.com

unread,
Dec 3, 2018, 12:17:32 PM12/3/18
to AtoM Users
Olá,

Estou tentando deletar um fundo pela própria aplicação, porém sem sucesso e acaba caindo sempre no erro  504 Gateway Time-out
Também tentei algo como "php symfony tools:delete-description --repository example-archives" mas está a demorar tanto que acho que tem algo de errado.

Agradeço qualquer ajuda.


Dan Gillean

unread,
Dec 3, 2018, 1:15:49 PM12/3/18
to ica-ato...@googlegroups.com
Hi Rita, 

When you use the command-line task with the --repository option, you are telling AtoM to delete every description linked to the repository whose slug you provide. If you have many large hierarchies linked to that repository, it is possible that either the available system memory is exhausted before the task completes, or the timeout limits set in your PHP execution limits are reached before the task completes. 

Instead, you might try just deleting one fonds / collection at a time. For example, if the description you want to delete has a slug of "my-example-fonds", you can pass the delete command like so: 
  • php symfony tools:delete-description my-example-fonds
You can also try adjusting your PHP execution limits. See this page for suggestions: 
You might want to increase values like the max_execution_limit and the memory_limit. Remember to restart PHP-FPM after making changes! 

Finally, if you are able to allocate more memory to your AtoM installation, this might help as well. 

If none of that works, then you might try deleting a very large fonds in parts. For example, delete a sub-series first, then the parent series, etc. Once you have deleted some of the lower-level records, you should be able to delete the entire fonds. 

Good luck! 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory


--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/f30e4d1e-2dd4-4ee1-b747-5430de42e099%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages