Video Plugin crasht PicApport

235 views
Skip to first unread message

dr.sheldo...@googlemail.com

unread,
May 5, 2020, 2:19:36 AM5/5/20
to PicApport
Hi,

I am using the docker container by whatever4711 to run picapport.
Once I add the video plugin the container crashes reproducibly after 4-5 minutes and during this time it is not possible to open the webpage.
Deleting the plugin fixes the issue.

In the logs there are no errors at all.



******************************************************************************
/opt/picapport/.picapport/logfiles/picapport.004 created at 2020-05-04 08:16:43
allowOutputOnSystemOut
=true
******************************************************************************
Copyright (c) 1997-2020 Contecon Software GmbH. All rights reserved.
2020-05-04 08:16:43
Tracelevel: ERROR
VER  
@ 08:16:43.415 PicApport Version 8.2 from 14.02.2020 loaded.
VER  
@ 08:16:43.416 de.contecon.picapport.PicApport.Version=V8.2.2 14.02.2020
VER  
@ 08:16:43.416 java.runtime.version: 1.8.0_242-b08
VER  
@ 08:16:43.416 java.version: 1.8.0_242
VER  
@ 08:16:43.416 java.vm.version: 25.242-b08
VER  
@ 08:16:43.417 java.vm.vendor: IcedTea
VER  
@ 08:16:43.417 java.vm.name: OpenJDK 64-Bit Server VM
VER  
@ 08:16:43.417 java.specification.version: 1.8
VER  
@ 08:16:43.417 java.vm.specification.version: 1.8
VER  
@ 08:16:43.417 java.class.path: picapport-headless.jar
VER  
@ 08:16:43.417 os.name: Linux
VER  
@ 08:16:43.418 os.version: 4.4.59+
VER  
@ 08:16:43.418 os.arch: amd64
VER  
@ 08:16:43.418 file.separator: /
VER  @ 08:16:43.418 path.separator: :
VER  @ 08:16:43.418 user.dir: /
opt/picapport
VER  
@ 08:16:43.418 user.home: /opt/picapport
VER  
@ 08:16:43.419 user.name: root
MSG  
@ 08:16:43.419 java.runtime totalMemory=257mb maxMemory=477mb freeMemory=250mb processors=4
MSG  
@ 08:16:43.422 java.runtime.argument: -Xms256m
MSG  
@ 08:16:43.423 java.runtime.argument: -Xmx512m
MSG  
@ 08:16:43.423 java.runtime.argument: -Duser.home=/opt/picapport
MSG  
@ 08:16:43.423 PicApport home=/opt/picapport/.picapport
MSG  
@ 08:16:43.423 PicApport logging to /opt/picapport/.picapport/logfiles
MSG  
@ 08:16:43.423 org.eclipse.jetty.LEVEL set to OFF
MSG  
@ 08:16:43.424 Loading config File: /opt/picapport/.picapport/picapport.properties
MSG  
@ 08:16:43.469 PicApportProperties.client.video.types.json[0].ext=.mp4 mime=video/mp4
MSG  
@ 08:16:43.469 PicApportProperties.client.video.types.json[1].ext=.mov mime=video/mp4
MSG  
@ 08:16:43.469 PicApportProperties.client.video.types.json[2].ext=.ogv mime=video/ogg
MSG  
@ 08:16:43.469 PicApportProperties.client.video.types.json[3].ext=.webm mime=video/webm
MSG  
@ 08:16:43.471 Init: picApportHome=/opt/picapport/.picapport
MSG  
@ 08:16:43.475 Init: client.folder.sort=name_reverse
MSG  
@ 08:16:43.475 Init: client.video.types.json=[{'ext':'.mp4','mime':'video/mp4'},{'ext':'.mov','mime':'video/mp4'},{'ext':'.ogv','mime':'video/ogg'},{'ext':'.webm','mime':'video/webm'}]
MSG  
@ 08:16:43.475 Init: gui.enabled=false
MSG  
@ 08:16:43.475 Init: gui.hideintray=true
MSG  
@ 08:16:43.475 Init: plugin.shadow.path=/opt/picapport/.picapport/cache
MSG  
@ 08:16:43.476 Init: robot.rescan.minutes=2880
MSG  
@ 08:16:43.476 Init: robot.root.0.id=id0
MSG  
@ 08:16:43.476 Init: robot.root.0.isuploadroot=true
MSG  
@ 08:16:43.476 Init: robot.root.0.path=/srv/photos
MSG  
@ 08:16:43.476 Init: server.demomode=false
MSG  
@ 08:16:43.476 Init: server.port=80
MSG  
@ 08:16:43.476 Init: server.ssl=false
MSG  
@ 08:16:43.482 PicApportRestartHandler.init: PicApport command restartpicapportserver is not available. At least Java version 9 is required.
MSG  
@ 08:16:43.558 FuzzySearchManager.init.phoneticEncoder: de.contecon.picapport.fuzzysearch.PaPhonDoubleMetaphoneV1.0
MSG  
@ 08:16:43.591 FuzzySearchManager No Thesaurus-Files (*.pathes) found in /opt/picapport/.picapport/thesaurus
MSG  
@ 08:16:43.612 Initialize user database in /opt/picapport/.picapport/users
MSG  
@ 08:16:43.615 Load users from /opt/picapport/.picapport/users
MSG  
@ 08:16:43.646 Initializing User Management: CcUser2  V1.6 build:2018.06.28-##CC_BUILD##
MSG  
@ 08:16:44.779 User Management: Initializing/creating UniqueId store in: /opt/picapport/.picapport/users/vars/id_counter
MSG  
@ 08:16:44.784 User Management: DB-Version updated to: 8.01
MSG  
@ 08:16:44.791 Search for plugins in /opt/picapport/.picapport/plugins
MSG  
@ 08:16:44.806 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Frame delay set to 2
MSG  
@ 08:16:44.807 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Resize width set to 1024
MSG  
@ 08:16:44.807 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Resize height set to 768
MSG  
@ 08:16:44.807 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Crop ratio X set to 4
MSG  
@ 08:16:44.807 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Crop ratio Y set to 3
MSG  
@ 08:16:44.809 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mpg video/mpeg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.809 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .divx video/divx (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .wmv video/x-ms-wmv (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .3g2 video/3gpp2 (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .ogv video/ogg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mpeg video/mpeg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .ts video/MP2T (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .avi video/x-msvideo (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.810 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mov video/quicktime (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .flv video/x-flv (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mp4 video/mp4 (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .m2v video/mpeg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .ogg video/ogg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .webm video/webm (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .3gp video/3gpp (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.811 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mkv video/x-matroska (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  
@ 08:16:44.825 Plugin loaded: PicApport geojson plugin 1.0 (c) 2019 Contecon Software GmbH .geojson application/geo+json (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugins.geojson.GeoJsonPlugin
MSG  
@ 08:16:44.829 Queries loaded: 0
MSG  
@ 08:16:44.831 Designs loaded: 0 from /opt/picapport/.picapport/designs
MSG  
@ 08:16:44.860 PicApportDBService.startDatabase:embedded:/opt/picapport/.picapport/db (/opt/picapport/.picapport/db/db_3_0_27)
MSG  
@ 08:16:51.133 PicApportDBService.startDatabase: Database version=3_0_27
MSG  
@ 08:16:51.161 PicApport.startGui.javaFxIsAvailable=false isGuiEnabled=false
MSG  
@ 08:16:52.755 DbWrapper.getAlternateDatePattern: M/d/yyyy = MM/dd/yyyy

config:

server.port = 80
robot
.root.0.path = /srv/photos

# Rescan 2 Tage
robot
.rescan.minutes = 2880

client
.folder.sort = name_reverse

client
.video.types.json = [{'ext':'.mp4','mime':'video/mp4'},{'ext':'.mov','mime':'video/mp4'},{'ext':'.ogv','mime':'video/ogg'},{'ext':'.webm','mime':'video/webm'}]

# cache
plugin
.shadow.path=/opt/picapport/.picapport/cache


dr.sheldo...@googlemail.com

unread,
May 7, 2020, 6:55:01 AM5/7/20
to PicApport
Does anybody have an idea why the video plugin is crashing and how I can fix/debug this?

PicApport

unread,
May 7, 2020, 7:03:51 AM5/7/20
to PicApport
I would definitely increase the memory size.

java.runtime totalMemory=257mb maxMemory=477mb freeMemory=250mb processors=
4
is definitely not enough for working with videos

See http://wiki.picapport.de/display/PICE/PicApport+Installation+Guide for more Information (I would recommend at lest 2GB)

dr.sheldo...@googlemail.com

unread,
May 8, 2020, 3:11:13 AM5/8/20
to PicApport
I increased the starting size to 1gb and the upper limit to 8gb and still got a segfault.
Switching to openjdk11 fixed the segfault and the picapport doesn't crash any more.

I still don't see preview images, but now I get this line in the log:

PicApport    | ERROR@ 07:57:58.953 Exception Error PhotoCrawler.DirectoryConsumer.createSubstituteIfReqired: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.ffmpeg.global.avutil
How can I fix this error?
 
Once I try to play the video I only can play h264 1080p just fine.
With h264 4k however it shows just a black screen and the progress bar moves foreward.
Is it not possible to play 4k?

PicApport

unread,
May 8, 2020, 3:26:32 AM5/8/20
to PicApport
Is it not possible to play 4k?
This depends on your Browser. PicApport just delivers the Videos to your Browser.If the browser can play the video it should work.....

For the other question: I'm not a Docker expert. Have you tried it without Docker?

dr.sheldo...@googlemail.com

unread,
May 8, 2020, 4:35:27 AM5/8/20
to PicApport
DEBUG@ 10:05:42.637 GenProperties.getProperty: Key=plugin.shadow.path value=/opt/picapport/.picapport/shadow


INFO
@ 10:06:15.434 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Video : /srv/photos/Folder/my_video.mp4
EXCEP@
============================================================
EXCEP@
Exception at: 2020-05-08 10:06:15
EXCEP@          
Msg:
EXCEP@
Could not initialize class org.bytedeco.ffmpeg.global.avutil
EXCEP@
------------------------------------------------------------
EXCEP@ java
.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.ffmpeg.global.avutil
EXCEP@     at java
.base/java.lang.Class.forName0(Native Method)
EXCEP@     at java
.base/java.lang.Class.forName(Class.java:398)
EXCEP@     at org
.bytedeco.javacpp.Loader.load(Loader.java:1109)
EXCEP@     at org
.bytedeco.javacpp.Loader.load(Loader.java:1042)
EXCEP@     at org
.bytedeco.ffmpeg.avformat.Read_packet_Pointer_BytePointer_int.<clinit>(Read_packet_Pointer_BytePointer_int.java:44)
EXCEP@     at org
.bytedeco.javacv.FFmpegFrameGrabber.<clinit>(FFmpegFrameGrabber.java:340)
EXCEP@     at de
.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin.createJpegFile(Unknown Source)
EXCEP@     at de
.contecon.picapport.plugins.otherformats.OtherFormatsDescriptor.createSubstitute(Unknown Source)
EXCEP@     at de
.contecon.picapport.directoryservices.PhotoCrawler$DirectoryConsumer.createSubstituteIfReqired(Unknown Source)
EXCEP@     at de
.contecon.picapport.directoryservices.PhotoCrawler$DirectoryConsumer.consume(Unknown Source)
EXCEP@     at de
.contecon.picapport.directoryservices.PhotoCrawler$DirectoryConsumer.run(Unknown Source)
EXCEP@     at java
.base/java.lang.Thread.run(Thread.java:834)



INFO @ 10:06:45.056 CcJpegUtils.readImage1: Using ImageIO
ERROR@
10:06:45.057 Exception Error CcJpegUtils.writeThumbImageToStreamImage3 /opt/picapport/.picapport/shadow/1/srv/photos/Folder/my_video.mp4.$.jpg: javax.imageio.IIOException: Can't read input file!
EXCEP@ ============================================================
EXCEP@ Exception at: 2020-05-08 10:06:45
EXCEP@          Msg:
EXCEP@ Can'
t read input file!
EXCEP@
------------------------------------------------------------
EXCEP@ javax
.imageio.IIOException: Can't read input file!
EXCEP@     at java.desktop/javax.imageio.ImageIO.read(ImageIO.java:1308)
EXCEP@     at de.contecon.imageutils.CcJpegUtils.readImage(Unknown Source)
EXCEP@     at de.contecon.imageutils.CcJpegUtils.writeThumbImageToStream(Unknown Source)
EXCEP@     at de.contecon.imageutils.CcJpegUtils.createThumbImage(Unknown Source)
EXCEP@     at de.contecon.picapport.db.DbWrapper.reorgPhotos(Unknown Source)
EXCEP@     at de.contecon.picapport.db.DbWrapper.dbservice(Unknown Source)
EXCEP@     at de.contecon.picapport.PicApport$5.doFunction(Unknown Source)
EXCEP@     at de.contecon.picapport.db.DbWorker.runDbFunction(Unknown Source)
EXCEP@     at de.contecon.picapport.db.DbWorker.run(Unknown Source)
EXCEP@     at java.base/java.lang.Thread.run(Thread.java:834)


dr.sheldo...@googlemail.com

unread,
May 8, 2020, 5:38:05 AM5/8/20
to PicApport
I have checked the permissions and on the linux filesystem the file has 777, so everything should be possible and PicApport lists all other files in the directory just fine.
It also creates the corresponding folder structure in the shadow folder, so it has access there, too.
What else can I check and do to provide more helpful information?

E. Schreiner

unread,
May 8, 2020, 5:48:13 AM5/8/20
to PicApport
  • Can you send us the logfile with your changed configuration again (as you did before) so we can see versions operating system classpath settings etc?
  • It would also be great to get a complete list of files from your .picapport\plugins\PicApportVideoThumbnailPlugin  directory
  • One more question: do you have other plugins installed? If yes are they working?

dr.sheldo...@googlemail.com

unread,
May 8, 2020, 6:49:52 AM5/8/20
to PicApport
Hello Mr. Schreiner,

thank you for your reply. I do not have any other plugins installed.

PicApport plugin directory:
PicApportVideoThumbnailPlugin\
PicApportVideoThumbnailPlugin.zip

PicApportVideoThumbnailPlugin Folder:
ffmpeg.jar
ffmpeg
-android-arm.jar
ffmpeg
-android-arm64.jar
ffmpeg
-android-x86.jar
ffmpeg
-android-x86_64.jar
ffmpeg
-linux-arm64.jar
ffmpeg
-linux-armhf.jar
ffmpeg
-linux-ppc64le.jar
ffmpeg
-linux-x86.jar
ffmpeg
-linux-x86_64.jar
ffmpeg
-macosx-x86_64.jar
ffmpeg
-platform.jar
ffmpeg
-windows-x86.jar
ffmpeg
-windows-x86_64.jar
javacpp
.jar
javacv
.jar
javacv
-LICENSE.txt
javacv
-platform.jar
pa_installed
.txt
PicApportVideoThumbnailPlugin.jar
PicApportVideoThumbnailPlugin.properties
xmpcore
-5.1.2.jar


picapport.properties
server.port = 80
robot
.root.0.path = /srv/photos

# Rescan 2 Tage
robot
.rescan.minutes = 2880

client
.folder.sort = name_reverse

# client.video.types.json = [{'ext':'.mp4','mime':'video/mp4'},{'ext':'.mov','mime':'video/mp4'},{'ext':'.ogv','mime':'video/ogg'},{'ext':'.webm','mime':'video/webm'}]

# cache
plugin
.shadow.path=/opt/picapport/.picapport/shadow

Logfile:


******************************************************************************
/opt/picapport/.picapport/logfiles/picapport.003 created at 2020-05-08 10:51:10

allowOutputOnSystemOut
=true
******************************************************************************
Copyright (c) 1997-2020 Contecon Software GmbH. All rights reserved.
2020-05-08 10:51:10
Tracelevel: INFO
VER  
@ 10:51:10.206 PicApport Version 8.2 from 14.02.2020 loaded.
VER  
@ 10:51:10.207 de.contecon.picapport.PicApport.Version=V8.2.2 14.02.2020
VER  
@ 10:51:10.207 java.runtime.version: 11.0.5+10-alpine-r0
VER  
@ 10:51:10.208 java.version: 11.0.5
VER  
@ 10:51:10.208 java.vm.version: 11.0.5+10-alpine-r0
VER  
@ 10:51:10.208 java.vm.vendor: Alpine
VER  
@ 10:51:10.209 java.vm.name: OpenJDK 64-Bit Server VM
VER  
@ 10:51:10.209 java.specification.version: 11
VER  
@ 10:51:10.209 java.vm.specification.version: 11
VER  
@ 10:51:10.210 java.class.path: picapport-headless.jar
VER  
@ 10:51:10.210 os.name: Linux
VER  
@ 10:51:10.210 os.version: 4.4.59+
VER  
@ 10:51:10.210 os.arch: amd64
VER  
@ 10:51:10.211 file.separator: /
VER  @ 10:51:10.211 path.separator: :
VER  @ 10:51:10.211 user.dir: /
opt/picapport
VER  
@ 10:51:10.211 user.home: /opt/picapport
VER  
@ 10:51:10.212 user.name: root
MSG  
@ 10:51:10.212 java.runtime totalMemory=268mb maxMemory=8589mb freeMemory=251mb processors=4
MSG  
@ 10:51:10.235 java.runtime.argument: -Xms256m
MSG  
@ 10:51:10.235 java.runtime.argument: -Xmx8192m
MSG  
@ 10:51:10.235 java.runtime.argument: -DTRACE=INFO
MSG  
@ 10:51:10.236 java.runtime.argument: -Duser.language=de
MSG  
@ 10:51:10.236 java.runtime.argument: -Duser.home=/opt/picapport
MSG  
@ 10:51:10.236 PicApport home=/opt/picapport/.picapport
MSG  
@ 10:51:10.236 PicApport logging to /opt/picapport/.picapport/logfiles
MSG  
@ 10:51:10.237 org.eclipse.jetty.LEVEL set to OFF
MSG  
@ 10:51:10.237 Loading config File: /opt/picapport/.picapport/picapport.properties
INFO
@ 10:51:10.247 PicApportProperties.mergeParameter: gui.enabled=false
INFO
@ 10:51:10.271 PicApportServlet.initServletPathWithContext:/picapport
MSG  @ 10:51:10.283 PicApportProperties.client.video.types.json[0].ext=.mp4 mime=video/
mp4
MSG  
@ 10:51:10.284 PicApportProperties.client.video.types.json[1].ext=.ogv mime=video/ogg
MSG  
@ 10:51:10.284 PicApportProperties.client.video.types.json[2].ext=.webm mime=video/webm
INFO
@ 10:51:10.285 RootFolder valid:/srv/photos
MSG  
@ 10:51:10.286 Init: picApportHome=/opt/picapport/.picapport
MSG  
@ 10:51:10.288 Init: client.folder.sort=name_reverse
MSG  
@ 10:51:10.289 Init: gui.enabled=false
MSG  
@ 10:51:10.289 Init: gui.hideintray=true
MSG  
@ 10:51:10.289 Init: plugin.shadow.path=/opt/picapport/.picapport/shadow
MSG  
@ 10:51:10.289 Init: robot.rescan.minutes=2880
MSG  
@ 10:51:10.289 Init: robot.root.0.id=id0
MSG  
@ 10:51:10.290 Init: robot.root.0.isuploadroot=true
MSG  
@ 10:51:10.290 Init: robot.root.0.path=/srv/photos
MSG  
@ 10:51:10.290 Init: server.demomode=false
MSG  
@ 10:51:10.290 Init: server.port=80
MSG  
@ 10:51:10.290 Init: server.ssl=false
MSG  
@ 10:51:10.305 PicApportRestartHandler.init: Restart activated for pid:6 command=/usr/lib/jvm/java-11-openjdk/bin/java
MSG  
@ 10:51:10.353 FuzzySearchManager.init.phoneticEncoder: de.contecon.picapport.fuzzysearch.PaPhonColognePhoneticV1.0
MSG  
@ 10:51:10.373 FuzzySearchManager No Thesaurus-Files (*.pathes) found in /opt/picapport/.picapport/thesaurus
INFO
@ 10:51:10.381 CcJpegUtils.CcJpegUtils: Init with 3 permits.
INFO
@ 10:51:10.383 MapManager.loadMapFile: /opt/picapport/.picapport/maps/picapportmap/picapportmap.geojson with 0 markers.
MSG  
@ 10:51:10.393 Initialize user database in /opt/picapport/.picapport/users
MSG  
@ 10:51:10.395 Load users from /opt/picapport/.picapport/users
INFO
@ 10:51:10.425 ##### User Management config
INFO
@ 10:51:10.426 Password min length:  1
INFO
@ 10:51:10.427 Password max length:  75
INFO
@ 10:51:10.427 Permission wildcard token:  *
INFO
@ 10:51:10.428 Permission part divider token:  :
INFO
@ 10:51:10.428 Permission sub-part divider token:  ,
INFO
@ 10:51:10.428 Permission ignore tokens:  []
INFO
@ 10:51:10.429 Permission remove whitespaces:  true
INFO
@ 10:51:10.429 Realm id blacklist:  <>:/|*?'\s"\\

MSG  @ 10:51:10.430 Initializing User Management: CcUser2  V1.6 build:2018.06.28-##CC_BUILD##( ##CC_BUILD_USER_ID##/##CC_BUILD_MACHINE_ID## )
INFO @ 10:51:10.439 ##### User Management file system config
INFO @ 10:51:10.757 Base path: /opt/picapport/.picapport/users
INFO @ 10:51:10.757 roles dir: roles
INFO @ 10:51:10.758 users dir: user

INFO @ 10:51:11.563 ##### User Management data cache info #####
INFO @ 10:51:11.565 Loaded users:  3
INFO @ 10:51:11.565 Loaded roles:  3
INFO @ 10:51:11.565 Ignored users: 0
INFO @ 10:51:11.565 Ignored roles: 0
MSG  @ 10:51:11.569 User Management: Initializing/creating UniqueId store in: /opt/picapport/.picapport/users/vars/id_counter
MSG  @ 10:51:11.574 User Management: DB-Version updated to: 8.01
INFO @ 10:51:11.576 RoleFilterManager.updateFilter for role: guests with filter <null>
INFO @ 10:51:11.576 RoleFilterManager.updateFilter for role: family with filter <null>
INFO @ 10:51:11.576 RoleFilterManager.updateFilter for role: admins with filter <null>
MSG  @ 10:51:11.582 Search for plugins in /opt/picapport/.picapport/plugins
INFO @ 10:51:11.585 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin.zip
INFO @ 10:51:11.585      plugin will be installed or updated in /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin
INFO @ 10:51:11.587 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/PicApportVideoThumbnailPlugin.properties
INFO @ 10:51:11.587 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv-LICENSE.txt
INFO @ 10:51:11.589 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/PicApportVideoThumbnailPlugin.jar
INFO @ 10:51:11.590 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-arm.jar
INFO @ 10:51:11.773 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-arm64.jar
INFO @ 10:51:11.953 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-x86.jar
INFO @ 10:51:12.128 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-x86_64.jar
INFO @ 10:51:12.296 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-arm64.jar
INFO @ 10:51:12.464 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-armhf.jar
INFO @ 10:51:12.628 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-ppc64le.jar
INFO @ 10:51:12.857 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-x86.jar
INFO @ 10:51:13.008 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-x86_64.jar
INFO @ 10:51:13.172 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-macosx-x86_64.jar
INFO @ 10:51:13.325 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-platform.jar
INFO @ 10:51:13.325 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-windows-x86.jar
INFO @ 10:51:13.477 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-windows-x86_64.jar
INFO @ 10:51:13.663 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg.jar
INFO @ 10:51:13.668 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacpp.jar
INFO @ 10:51:13.675 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv-platform.jar
INFO @ 10:51:13.676 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv.jar
INFO @ 10:51:13.683 PluginManager.extractFile: /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/xmpcore-5.1.2.jar
INFO @ 10:51:13.687 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/PicApportVideoThumbnailPlugin.jar
INFO @ 10:51:13.690 Load plugin class: de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
INFO @ 10:51:13.705 Plugin property: menudownload.text.en=Show video
INFO @ 10:51:13.705 Plugin property: video.preview_crop=true
INFO @ 10:51:13.705 Plugin property: keywords=$Video,$Film,$Movie
INFO @ 10:51:13.705 Plugin property: video.preview_crop_aspect_ratio_x=4
INFO @ 10:51:13.706 Plugin property: video.preview_crop_aspect_ratio_y=3
INFO @ 10:51:13.706 Plugin property: menudownload.text.de=Video anzeigen
INFO @ 10:51:13.706 Plugin property: video.preview_frame_delay_in_percent=2
INFO @ 10:51:13.706 Plugin property: menudownload.text=Show video
INFO @ 10:51:13.706 Plugin property: video.preview_resize=true
INFO @ 10:51:13.707 Plugin property: video.preview_resize_height=768
INFO @ 10:51:13.707 Plugin property: video.preview_resize_width=1024
INFO @ 10:51:13.707 Load plugin properties from /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/PicApportVideoThumbnailPlugin.properties: OK
MSG  @ 10:51:13.708 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Frame delay set to 2
MSG  @ 10:51:13.708 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Resize width set to 1024
MSG  @ 10:51:13.708 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Resize height set to 768
MSG  @ 10:51:13.709 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Crop ratio X set to 4
MSG  @ 10:51:13.709 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Crop ratio Y set to 3
MSG  @ 10:51:13.711 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mpg video/mpeg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.711 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .divx video/divx (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .wmv video/x-ms-wmv (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .3g2 video/3gpp2 (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .ogv video/ogg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mpeg video/mpeg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .ts video/MP2T (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .avi video/x-msvideo (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.712 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mov video/quicktime (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .flv video/x-flv (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mp4 video/mp4 (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .m2v video/mpeg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .ogg video/ogg (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .webm video/webm (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .3gp video/3gpp (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
MSG  @ 10:51:13.713 Plugin loaded: PicapportVideoThumbnail 1.4 (c) 2019 Contecon Software GmbH .mkv video/x-matroska (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin
INFO @ 10:51:13.714 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-arm.jar
INFO @ 10:51:13.715             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-arm.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.715 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-arm64.jar
INFO @ 10:51:13.716             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-arm64.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.716 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-x86.jar
INFO @ 10:51:13.717             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-x86.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.717 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-x86_64.jar
INFO @ 10:51:13.719             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-android-x86_64.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.719 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-arm64.jar
INFO @ 10:51:13.720             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-arm64.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.721 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-armhf.jar
INFO @ 10:51:13.721             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-armhf.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.722 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-ppc64le.jar
INFO @ 10:51:13.723             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-ppc64le.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.723 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-x86.jar
INFO @ 10:51:13.724             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-x86.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.724 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-x86_64.jar
INFO @ 10:51:13.725             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-linux-x86_64.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.725 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-macosx-x86_64.jar
INFO @ 10:51:13.726             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-macosx-x86_64.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.727 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-platform.jar
INFO @ 10:51:13.728             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-platform.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.728 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-windows-x86.jar
INFO @ 10:51:13.729             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-windows-x86.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.729 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-windows-x86_64.jar
INFO @ 10:51:13.730             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg-windows-x86_64.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.731 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg.jar
INFO @ 10:51:13.732             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/ffmpeg.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.732 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacpp.jar
INFO @ 10:51:13.734             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacpp.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.734 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv-platform.jar
INFO @ 10:51:13.736             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv-platform.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.736 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv.jar
INFO @ 10:51:13.738             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/javacv.jar ignored. Not a valid PicApport plugin.
INFO @ 10:51:13.738 Load plugin /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/xmpcore-5.1.2.jar
INFO @ 10:51:13.739             /opt/picapport/.picapport/plugins/PicApportVideoThumbnailPlugin/xmpcore-5.1.2.jar ignored. Not a valid PicApport plugin.
MSG  @ 10:51:13.741 Plugin loaded: PicApport geojson plugin 1.0 (c) 2019 Contecon Software GmbH .geojson application/geo+json (hideSubstitutes=true) implements IOtherFileFormat:de.contecon.picapport.plugins.geojson.GeoJsonPlugin
INFO @ 10:51:13.744 PicApportQueryManager.reloadMap: /opt/picapport/.picapport/queries
MSG  @ 10:51:13.745 Queries loaded: 0
INFO @ 10:51:13.746 PicApportDesignManager.reloadMap: /opt/picapport/.picapport/designs/
MSG  @ 10:51:13.747 Designs loaded: 0 from /opt/picapport/.picapport/designs
INFO @ 10:51:13.752 PicApportCmdQueue.execCmd: doCmd_statusmessage(Starte Datenbank ...)
MSG  @ 10:51:13.770 PicApportDBService.startDatabase:embedded:/opt/picapport/.picapport/db (/opt/picapport/.picapport/db/db_3_0_27)
MSG  @ 10:51:18.362 PicApportDBService.startDatabase: Database version=3_0_27
INFO @ 10:51:18.388 PicApportCmdQueue.execCmd: doCmd_statusmessage(Starte Robot ...)
INFO @ 10:51:18.392 PhotoCrawler.init:
INFO @ 10:51:18.392 PhotoCrawler.DirectoryConsumer started.
INFO @ 10:51:18.392 PicApportCmdQueue.execCmd: doCmd_statusmessage(Starte Fetchmail ...)
INFO @ 10:51:18.394 FetchMailCrawler started.
MSG  @ 10:51:18.394 PicApport.startGui.javaFxIsAvailable=false isGuiEnabled=false
INFO @ 10:51:18.395 PicApportCmdQueue.execCmd: doCmd_statusmessage(Starte Server ...)
INFO @ 10:51:19.186 Thread ConsoleCommandHandler terminated
INFO @ 10:51:19.188 PicApportQueryManager.createAllQueryIconsIfRequired: /opt/picapport/.picapport/queries
INFO @ 10:51:19.190 PhotoCrawler.addDirectory.accepted: /srv/photos
INFO @ 10:51:19.191 PicApportCmdQueue.execCmd: doCmd_statusmessage(Server gestartet)
MSG  @ 10:51:19.196 DbWrapper.getAlternateDatePattern: dd.MM.yyyy = d.M.yyyy
INFO @ 10:51:19.211 PhotoCrawler.notifyStartCrawl:
INFO @ 10:51:19.212 PicApportCmdQueue.execCmd: doCmd_crawlermessage(Crawler gestartet)
INFO @ 10:51:19.213 PicApportCmdQueue.execCmd: doCmd_crawlermessage(/srv/photos)
INFO @ 10:51:19.214 PhotoCrawler.addDirectory.accepted: /srv/photos/Test
INFO @ 10:51:21.229 PicApportCmdQueue.execCmd: doCmd_crawlermessage(/srv/photos/Test)
INFO @ 10:51:21.251 de.contecon.picapport.plugin.video.PicapportVideoThumbnailPlugin: Video : /srv/photos/Test/VID_1_2.mp4
ERROR@ 10:51:21.351 Exception Error PhotoCrawler.DirectoryConsumer.createSubstituteIfReqired: java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.ffmpeg.global.avutil
INFO @ 10:51:21.411 CcJpegUtils.readImage1: Using ImageIO
ERROR@ 10:51:21.422 Exception Error CcJpegUtils.writeThumbImageToStreamImage3 /opt/picapport/.picapport/shadow/1/srv/photos/Test/VID_1_2.mp4.$.jpg: javax.imageio.IIOException: Can'
t read input file!
INFO
@ 10:51:21.425 PhotoCrawler.notifyStopCrawl:
INFO
@ 10:51:21.425 PicApportCmdQueue.execCmd: doCmd_statusmessage(Crawler gestoppt)
INFO
@ 10:51:21.426 PicApportCmdQueue.execCmd: doCmd_dbservice()
INFO
@ 10:51:21.428 PicApportCmdQueue.execCmd: doCmd_statusmessage(DbWorker dbservice gestartet)
INFO
@ 10:51:21.697 Loading thumb for /srv/photos/Test/VID_1_2.mp4.$.jpg
ERROR@
10:51:21.699 Exception Error CcJpegUtils.writeThumbImageToStreamImage3 /opt/picapport/.picapport/shadow/1/srv/photos/Test/VID_1_2.mp4.$.jpg: javax.imageio.IIOException: Can't read input file!
INFO @ 10:51:21.699 DbWrapper.reorgPhotos: Default thumb created for: /srv/photos/Test/VID_1_2.mp4.$.jpg
MSG  @ 10:51:21.846 1 thumbs loaded.
INFO @ 10:51:21.848 PicApportCmdQueue.execCmd: doCmd_statusmessage(DbWorker dbservice beendet. (228MB))
****** PicApport starts a new day at 08.05.2020 10:51:28



micke...@gmail.com

unread,
May 10, 2020, 11:44:06 AM5/10/20
to PicApport
Same problem here. No other plugins installed, same container, same crash. Deleting the plugin fixes the problem.

Thanks for PicApport, it is great!

dr.sheldo...@googlemail.com

unread,
May 12, 2020, 4:15:54 AM5/12/20
to PicApport
 I am using the following files:

dockerfile
FROM alpine:latest

ENV PICAPPORT_PORT
80
ENV PICAPPORT_LANG en
ENV PICAPPORT_LOG WARNING
ENV XMS
256m
ENV XMX
1024m

RUN apk add
--update --no-cache tini openjdk11 && \
    mkdir
-p /opt/picapport && \
    mkdir
/opt/picapport/.picapport

WORKDIR
/opt/picapport
COPY picapport
-headless.jar picapport-headless.jar

EXPOSE $
{PICAPPORT_PORT}

ENTRYPOINT tini
-- java -Xms$XMS -Xmx$XMX -DTRACE=$PICAPPORT_LOG -Duser.language=$PICAPPORT_LANG -Duser.home=/opt/picapport -jar picapport-headless.jar


docker-compose.yml
version: '3.6'

services
:
  picapport
:
    container_name
: PicApport
    build
: .
    restart
: unless-stopped
    logging
:
      driver
: "json-file"
      options
:
        max
-file: "10"
        max
-size: "200k"
    ports
:
     
- "7777:80"

    environment
:
     
- TZ=Europe/Berlin

     
- PICAPPORT_LANG=de
     
- XMS=256m
     
- XMX=8192m
     
- PICAPPORT_LOG=INFO

    volumes
:
     
- /PATH_TO_CONFIG/:/opt/picapport/.picapport
     
- /PATH_TO_PICTURES/:/srv/photos:ro
     
     
- /etc/localtime:/etc/localtime:ro

Create both files a folder and download the picapport-headless.jar and place them next to the fil.
Run the following command to setup the container and start picapport:
docker-compose up -d

Is there anything else I can provide to make it possible to fix this error?

Martin Bruns

unread,
May 13, 2020, 1:20:07 PM5/13/20
to PicApport
Hi,

I did not check on the acutal problem of this thread (since I was not the one open it) but I'm happy that you provided a good and instantly working docker image description.

I just copied it over and adjusted my picapport.properties, a small port and memory change and it was running, also my users from the plain debian installed configuration was not overwritten.

Actually much better than the deb package, since that is lacking the marking of the picapport.properties and users directory as config files, and overwrites on an install/upgrade.

Thanks
Martin

Martin Bruns

unread,
May 15, 2020, 4:30:24 PM5/15/20
to PicApport
On the thread named

Exception Error PhotoCrawler.DirectoryConsumer.createSubstituteIfReqired:

I found that the alpine based image/container is making me problems. I created a adaptation on the above Dockerfile which seems to work for me.

Kind Regards
Martin

FROM debian:buster

ENV PICAPPORT_PORT
80

ENV PICAPPORT_LANG en
ENV PICAPPORT_LOG WARNING
ENV XMS
256m
ENV XMX
1024m


RUN apt update
&& apt upgrade && apt-get -y install tini openjdk-11-jre && \

    mkdir
-p /opt/picapport && \
    mkdir
/opt/picapport/.picapport

WORKDIR
/opt/picapport
COPY picapport
-headless.jar picapport-headless.jar

EXPOSE $
{PICAPPORT_PORT}


ENTRYPOINT tini
-- java -Xms$XMS -Xmx$XMX -Djava.awt.headless=true -DTRACE=$PICAPPORT_LOG -Duser.language=$PICAPPORT_LANG -Duser.home=/opt/picapport -jar picapport-headless.jar



Martin Bruns

unread,
May 26, 2020, 3:26:40 AM5/26/20
to PicApport
I found that picApport is not closing the databases when I stop the container, which means on a restart it is re-init the database.

After changing the last line from the Dockefile to

CMD exec java -Xms$XMS -Xmx$XMX -Djava.awt.headless=true -DTRACE=$PICAPPORT_LOG -Duser.language=$PICAPPORT_LANG -Duser.home=/opt/picapport -jar picapport-headless.jar


It was stopping and starting as expected.

Kind Regards
Martin

Micke Pe

unread,
May 26, 2020, 9:27:07 AM5/26/20
to PicApport
Nice ! Works like a charm.

I just wanted to post a complete version of Martin Bruns Dockerfile for copy+paste.

@PicApport: Maybe you include this in the documentation?
Dockerfile

dr.sheldo...@googlemail.com

unread,
Jun 15, 2020, 10:37:40 AM6/15/20
to PicApport
This works for me, too but takes forever to build and is quite huge.
Can any one of the developers comment what kind of dependencies the video-plugin has?
Maybe it's just a matter of installing the correct packages.


Also there was a small -y missing in the dockerfile:

dockerfile
# FROM alpine:latest

FROM debian
:buster

ENV PICAPPORT_PORT
80
ENV PICAPPORT_LANG en
ENV PICAPPORT_LOG WARNING
ENV XMS
256m
ENV XMX
1024m


RUN apt
-get update && apt-get upgrade -y && apt-get -y install openjdk-11-jre && \

    mkdir
-p /opt/picapport && \
    mkdir
/opt/picapport/.picapport

WORKDIR
/opt/picapport
COPY picapport
-headless.jar picapport-headless.jar

EXPOSE $
{PICAPPORT_PORT}


ENTRYPOINT java
-Xms$XMS -Xmx$XMX -DTRACE=$PICAPPORT_LOG -Duser.language=$PICAPPORT_LANG -Duser.home=/opt/picapport -jar picapport-headless.jar

docker-compose.yml
version: '3.6'

services
:
  picapport
:
    container_name
: PicApport
    build
: .
    restart
: unless-stopped
    logging
:
      driver
: "json-file"
      options
:
        max
-file: "10"
        max
-size: "200k"
    ports
:
     
- "7777:80"

    environment
:
     
- TZ=Europe/Berlin

     
- PICAPPORT_LANG=
de
     
- PICAPPORT_LOG=INFO

     
- XMS=256m
     
- XMX=8192m

    volumes
:
     
- PATH_TO_SETTINGS:/opt/picapport/.picapport
     
- PATH_TO_FOTOS:/srv/photos:ro
     
     
- /etc/localtime:/etc/localtime:ro




Reply all
Reply to author
Forward
0 new messages