Blob don't deleted

Hi, When I delete a file from the trash in nuxeo (definitively), the blob on the filesystem is already present. Thanks for your help. Regards, Eric

0 votes

1 answers

164 views

ANSWER



It can be hard to clean up blood :-)

I suppose you 're meaning blob.

You can can either use the admin panel > Repository Binaries > mark and Delete Orphaned Binaries

or there is a dedicated groovy script that can be used in Nuxeo Shell

https://doc.nuxeo.com/nxdoc/garbage-collecting-orphaned-binaries/

0 votes



Thanks ! But when I try to use the admin panel > Repository Binaries > mark and Delete Orphaned Binaries. I obtain this error :

2018-11-20 11:31:53,725 ERROR [PoolIdleReleaseTimer] [org.nuxeo.runtime.jtajca.NuxeoConnectionTrackingCoordinator] Killed handle: org.tranql.connector.jdbc.ConnectionHandle@6fa5a294ManagedConnectionInfo: org.apache.geronimo.connector.outbound.ManagedConnectionInfo@20509b90. mc: org.nuxeo.runtime.datasource.PooledDataSourceFactory$JdbcConnectionFactory$1ManagedJDBCConnection@11e0d283. jdbc=org.postgresql.jdbc.PgConnection@3bc150d0], was obtained by NuxeoBinariesGCUI at Tue Nov 20 11:26:28 CET 2018 and timed out at Tue Nov 20 11:31:28 CET 2018 java.lang.Exception: Stack Trace at org.apache.geronimo.connector.outbound.ConnectionInfo.setTrace(ConnectionInfo.java:119) at org.apache.geronimo.connector.outbound.ConnectionHandleInterceptor.getConnection(ConnectionHandleInterceptor.java:57) at org.apache.geronimo.connector.outbound.TCCLInterceptor.getConnection(TCCLInterceptor.java:39) at org.apache.geronimo.connector.outbound.ConnectionTrackingInterceptor.getConnection(ConnectionTrackingInterceptor.java:66) at org.apache.geronimo.connector.outbound.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:77) at org.nuxeo.runtime.jtajca.NuxeoContainer$ConnectionManagerWrapper.allocateConnection(NuxeoContainer.java:764) at org.tranql.connector.jdbc.TranqlDataSource.getConnection(TranqlDataSource.java:62) at org.nuxeo.runtime.datasource.PooledDataSourceFactory$1NuxeoDataSource.getConnection(PooledDataSourceFactory.java:95) at org.nuxeo.runtime.datasource.ConnectionHelper.getConnection(ConnectionHelper.java:96) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openBaseConnection(JDBCConnection.java:146) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCConnection.openConnections(JDBCConnection.java:136) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapper.connect(JDBCMapper.java:1405) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.lambda$doConnectAndInvoke$0(JDBCMapperConnector.java:96) at org.nuxeo.runtime.transaction.TransactionHelper.runInTransaction(TransactionHelper.java:589) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.doConnectAndInvoke(JDBCMapperConnector.java:95) at org.nuxeo.ecm.core.storage.sql.jdbc.JDBCMapperConnector.invoke(JDBCMapperConnector.java:84) at com.sun.proxy.$Proxy62.markReferencedBinaries(Unknown Source) at org.nuxeo.ecm.core.storage.sql.SoftRefCachingMapper.markReferencedBinaries(SoftRefCachingMapper.java:176) at org.nuxeo.ecm.core.storage.sql.SessionImpl.markReferencedBinaries(SessionImpl.java:1458) at org.nuxeo.ecm.core.storage.sql.RepositoryImpl.markReferencedBinaries(RepositoryImpl.java:509) at org.nuxeo.ecm.core.storage.sql.ra.ManagedConnectionFactoryImpl.markReferencedBinaries(ManagedConnectionFactoryImpl.java:215) at org.nuxeo.ecm.core.storage.sql.ra.ConnectionFactoryImpl.markReferencedBinaries(ConnectionFactoryImpl.java:214) at org.nuxeo.ecm.core.blob.DocumentBlobManagerComponent.garbageCollectBinaries(DocumentBlobManagerComponent.java:252) at org.nuxeo.ecm.core.storage.sql.management.SQLRepositoryStatus.gcBinaries(SQLRepositoryStatus.java:94) at org.nuxeo.ecm.admin.SystemInfoManager$BinariesGCTask.run(SystemInfoManager.java:355) at java.lang.Thread.run(Thread.java:748)

Thanks for your help.

Eric

11/20/2018