
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2022 06:24 PM
Buenas tardes.
Hasta hace unos dias podia ejecutar este comando para realizar una importación de archivos en la version 5.2 en Windows.
curl -v -u admin:admin -L POST --url "localhost:8080/alfresco/s/bulkfsimport/initiate" --data "targetPath=/bul&sourceDirectory=C:\Users\Chapu\Desktop\ESCANEO&existingFileMode=ADD_VERSION"
Todo bien
Instale Alfresco 7.2 y al ejecutar el mismo camando me muestra el mensaje:
>java.lang.IllegalArgumentException: Source '/usr/local/tomcat/C:\Users\Chapu\Desktop\ESCANEO' doesn't exist.
sabran alguna manera para cambiar y que vuelva a buscar desde mi unidad C?
gracias
- Labels:
-
Language Groups
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2022 02:39 AM
Hola:
Entiendo que tu problema viene de aqui...
- The Import directory field is required and indicates the absolute file system directory to load the content and spaces from, in an OS-specific format. Note that this directory must be locally accessible to the server on which the Alfresco Content Services instance is running. It must either be a local file system or a locally mounted remote file system (mounted using GFS, CIFS, or similar).
En 5.2 estas usando el installer y en 7.2 un entorno con docker. Seguramente necesitaras jugar con un volumen de docker para los datos de escaneo, por ejemplo en /usr/local/tomcat/ESCANEO, y despues simplemente añadir ESCANEO en vez de C:/ en el source directory, de manera que construya correctamente /usr/local/tomcat/ESCANEO
Saludos.
--C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2022 02:39 AM
Hola:
Entiendo que tu problema viene de aqui...
- The Import directory field is required and indicates the absolute file system directory to load the content and spaces from, in an OS-specific format. Note that this directory must be locally accessible to the server on which the Alfresco Content Services instance is running. It must either be a local file system or a locally mounted remote file system (mounted using GFS, CIFS, or similar).
En 5.2 estas usando el installer y en 7.2 un entorno con docker. Seguramente necesitaras jugar con un volumen de docker para los datos de escaneo, por ejemplo en /usr/local/tomcat/ESCANEO, y despues simplemente añadir ESCANEO en vez de C:/ en el source directory, de manera que construya correctamente /usr/local/tomcat/ESCANEO
Saludos.
--C.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2022 02:33 PM
Buenas tardes. Exactamente es lo que termine haciendo. Agregar un volumen y desde ahi tomar los archivos a importar.
agradezco mucho
Saludos.
