pigallery2: Indexing Scan hangs with errno: -2, code: 'ENOENT',
Describe the bug
I recently started evaluating pigallery as it looks awesome and I tried it on a sample folder of images before trying to unleash it on my family photo library but i immediately got blocked as the initial indexing scan does not move forward as soon as it encounters an error (detailed below). I tried google searching as well searched the repo for the error before opening this new issue (so pardon me if this is a known thing and my search failed).
Now for the issue itself: When it starts indexing, it pauses after it encounters the first error and the scan/indexing does not move forward, just stays stuck without continuing to remaining folders/files. The first error I see (in debug mode) is:
2023-08-27 23:22:30 8/28/2023, 4:22:30 AM[SILLY][DiskManager] scanning directory: 2004
2023-08-27 23:22:30 8/28/2023, 4:22:30 AM[VERBS] GET /pgapi/admin/jobs/scheduled/progress 200 2ms
2023-08-27 23:22:30 8/28/2023, 4:22:30 AM[ERROR][JOB] {
2023-08-27 23:22:30 errno: -2,
2023-08-27 23:22:30 syscall: 'open',
2023-08-27 23:22:30 code: 'ENOENT',
2023-08-27 23:22:30 path: '/app/data/images/2004/12-December/2004-12-31_011522_Picture 009_filtered-print1.jpg'
2023-08-27 23:22:30 }
2023-08-27 23:22:32 8/28/2023, 4:22:32 AM[DEBUG] HEAD /heartbeat 200 3ms
2023-08-27 23:22:32 8/28/2023, 4:22:32 AM[VERBS] GET /pgapi/admin/jobs/scheduled/progress 200 5ms
I thought maybe something is wrong with the file so i checked it -
- tried opening with preview, opens file
- did an ls - ltr and permissions list fine but still went ahead and did a chmod 777 on it.
- removed the spaces in the name of the file and tried indexing again. (have to restart the container as the index does not cancel from the UI)
- eventually I removed the file to see if it will continue but then it continues for a bit and fails again in another place, this time on a folder.
023-08-28 11:16:25 8/28/2023, 4:16:25 PM[SILLY][DiskManager] scanning directory: 2004
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[SILLY][DiskManager] scanning directory: 2005
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[SILLY][DiskManager] scanning directory: 2006
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2007
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2008
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2009
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2010
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2011
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2012
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2013
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2014
2023-08-28 11:16:26 8/28/2023, 4:16:26 PM[SILLY][DiskManager] scanning directory: 2015
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2016
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2017
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2018
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2019
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2020
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2021
2023-08-28 11:16:27 8/28/2023, 4:16:27 PM[SILLY][DiskManager] scanning directory: 2022
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2023
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2000/01-January
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2002/06-June
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2002/10-October
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2003/05-May
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2003/08-August
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/01-January
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/02-February
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/03-March
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/05-May
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/06-June
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/07-July
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/08-August
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[SILLY][DiskManager] scanning directory: 2004/09-September
2023-08-28 11:16:28 8/28/2023, 4:16:28 PM[ERROR][JOB] {
2023-08-28 11:16:28 errno: -2,
2023-08-28 11:16:28 code: 'ENOENT',
2023-08-28 11:16:28 syscall: 'scandir',
2023-08-28 11:16:28 path: '/app/data/images/2004/09-September/NIKON D1X'
2023-08-28 11:16:28 }
2023-08-28 11:16:28 {
2023-08-28 11:16:28 errno: -2,
2023-08-28 11:16:28 code: 'ENOENT',
2023-08-28 11:16:28 syscall: 'scandir',
2023-08-28 11:16:28 path: '/app/data/images/2004/09-September/NIKON D1X'
2023-08-28 11:16:28 }
2023-08-28 11:16:36 8/28/2023, 4:16:36 PM[DEBUG] HEAD /heartbeat 200 2ms
2023-08-28 11:16:39 8/28/2023, 4:16:39 PM[VERBS] GET /pgapi/admin/jobs/scheduled/progress 200 2ms
Photo/video (optional) that causes the bug
If error is in connection with a particular photo/video, It would help a lot with the debugging if you can attach that file too.
I can attach the file here but since it fails on multiple things - files/folders. it might be helpful to know how to get more details that might help you.
permissions of folders where its failing last:
Media % ls -ltr Family/Photos/2004/09-September
total 1024
drwxrwxrwx 1 homeserver staff 131072 Feb 25 2023 Canon PowerShot G2
drwxrwxrwx 1 homeserver staff 131072 Aug 20 10:04 NIKON D70
drwxrwxrwx 1 homeserver staff 131072 Aug 20 10:04 NIKON D1X
drwxrwxrwx 1 homeserver staff 131072 Aug 20 10:04 E5700
Media % ls -ltr Family/Photos/2004/09-September/NIKON\ D1X
total 512
-rwxrwxrwx 1 homeserver staff 223670 Sep 1 2004 2004-09-01_225347_NIKON D1X_67357714_9b059ac89e_o.jpg
homeserver@dagny Media %
Screenshots (optional)
N/A
Server logs (optional)
attached above. as well as:
023-08-28 11:15:56 [Typeconfig] Loading config. Path: /app/data/config/config.json
2023-08-28 11:15:56 [Typeconfig] Loading defaults from file: undefined
2023-08-28 11:15:56 [Typeconfig] Loading defaults, def prefix: default
2023-08-28 11:15:56 [Typeconfig] no default cli found among these: {
2023-08-28 11:15:56 "expose": {
2023-08-28 11:15:56 "gc": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "path": "/app/data/config/config.json"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 }
2023-08-28 11:15:56 [Typeconfig] from env: {
2023-08-28 11:15:56 "Database": {
2023-08-28 11:15:56 "dbFolder": "/app/data/db"
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Media": {
2023-08-28 11:15:56 "folder": "/app/data/images",
2023-08-28 11:15:56 "tempFolder": "/app/data/tmp"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 }
2023-08-28 11:15:56 [Typeconfig] Processing cli and ENV inputs: {
2023-08-28 11:15:56 "expose": {
2023-08-28 11:15:56 "gc": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "path": "/app/data/config/config.json"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 }
2023-08-28 11:15:56 [Typeconfig] Processing cli and ENV inputs: {
2023-08-28 11:15:56 "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
2023-08-28 11:15:56 "HOSTNAME": "eb5e68f0c52b",
2023-08-28 11:15:56 "NODE_ENV": "debug",
2023-08-28 11:15:56 "NODE_VERSION": "18.13.0",
2023-08-28 11:15:56 "YARN_VERSION": "1.22.19",
2023-08-28 11:15:56 "PI_DOCKER": true,
2023-08-28 11:15:56 "HOME": "/root"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 NODE_ENV environmental variable is set to debug, forcing all logs to print
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[INFO_][server] Running in DEBUG mode, set env variable NODE_ENV=production to disable
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[INFO_][server] running diagnostics...
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[VERBS][server] using config from /app/data/config/config.json:
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[VERBS][server] {
2023-08-28 11:15:56 "Server": {
2023-08-28 11:15:56 "applicationTitle": "PiGallery 2",
2023-08-28 11:15:56 "publicUrl": "",
2023-08-28 11:15:56 "urlBase": "",
2023-08-28 11:15:56 "apiPath": "/pgapi",
2023-08-28 11:15:56 "customHTMLHead": "",
2023-08-28 11:15:56 "sessionSecret": [
2023-08-28 11:15:56 "xxx"
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "sessionTimeout": 604800000,
2023-08-28 11:15:56 "port": 80,
2023-08-28 11:15:56 "host": "0.0.0.0",
2023-08-28 11:15:56 "Threading": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "thumbnailThreads": 0
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Log": {
2023-08-28 11:15:56 "level": 3,
2023-08-28 11:15:56 "sqlLevel": 2,
2023-08-28 11:15:56 "logServerTiming": false
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Users": {
2023-08-28 11:15:56 "authenticationRequired": true,
2023-08-28 11:15:56 "unAuthenticatedUserRole": 4,
2023-08-28 11:15:56 "enforcedUsers": []
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Gallery": {
2023-08-28 11:15:56 "enableCache": true,
2023-08-28 11:15:56 "enableOnScrollRendering": true,
2023-08-28 11:15:56 "defaultPhotoSortingMethod": 4,
2023-08-28 11:15:56 "defaultSearchSortingMethod": 4,
2023-08-28 11:15:56 "enableDirectorySortingByDate": true,
2023-08-28 11:15:56 "enableOnScrollThumbnailPrioritising": true,
2023-08-28 11:15:56 "NavBar": {
2023-08-28 11:15:56 "showItemCount": true,
2023-08-28 11:15:56 "links": [
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "type": 1
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "type": 3
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "type": 2
2023-08-28 11:15:56 }
2023-08-28 11:15:56 ]
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "captionFirstNaming": false,
2023-08-28 11:15:56 "enableDownloadZip": false,
2023-08-28 11:15:56 "enableDirectoryFlattening": false,
2023-08-28 11:15:56 "Lightbox": {
2023-08-28 11:15:56 "defaultSlideshowSpeed": 5,
2023-08-28 11:15:56 "captionAlwaysOn": false,
2023-08-28 11:15:56 "facesAlwaysOn": false,
2023-08-28 11:15:56 "loopVideos": false
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Media": {
2023-08-28 11:15:56 "Thumbnail": {
2023-08-28 11:15:56 "iconSize": 45,
2023-08-28 11:15:56 "personThumbnailSize": 200,
2023-08-28 11:15:56 "thumbnailSizes": [
2023-08-28 11:15:56 240,
2023-08-28 11:15:56 480
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "useLanczos3": true,
2023-08-28 11:15:56 "quality": 80,
2023-08-28 11:15:56 "personFaceMargin": 0.6
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Video": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "supportedFormatsWithTranscoding": [
2023-08-28 11:15:56 "avi",
2023-08-28 11:15:56 "mkv",
2023-08-28 11:15:56 "mov",
2023-08-28 11:15:56 "wmv",
2023-08-28 11:15:56 "flv",
2023-08-28 11:15:56 "mts",
2023-08-28 11:15:56 "m2ts",
2023-08-28 11:15:56 "mpg",
2023-08-28 11:15:56 "3gp",
2023-08-28 11:15:56 "m4v",
2023-08-28 11:15:56 "mpeg",
2023-08-28 11:15:56 "vob",
2023-08-28 11:15:56 "divx",
2023-08-28 11:15:56 "xvid",
2023-08-28 11:15:56 "ts"
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "supportedFormats": [
2023-08-28 11:15:56 "mp4",
2023-08-28 11:15:56 "webm",
2023-08-28 11:15:56 "ogv",
2023-08-28 11:15:56 "ogg"
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "transcoding": {
2023-08-28 11:15:56 "bitRate": 5242880,
2023-08-28 11:15:56 "resolution": 720,
2023-08-28 11:15:56 "fps": 25,
2023-08-28 11:15:56 "format": "mp4",
2023-08-28 11:15:56 "mp4Codec": "libx264",
2023-08-28 11:15:56 "webmCodec": "libvpx",
2023-08-28 11:15:56 "crf": 23,
2023-08-28 11:15:56 "preset": 6,
2023-08-28 11:15:56 "customOptions": []
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Photo": {
2023-08-28 11:15:56 "Converting": {
2023-08-28 11:15:56 "enabled": false,
2023-08-28 11:15:56 "loadFullImageOnZoom": true,
2023-08-28 11:15:56 "onTheFly": true,
2023-08-28 11:15:56 "resolution": 1080
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "supportedFormats": [
2023-08-28 11:15:56 "gif",
2023-08-28 11:15:56 "jpeg",
2023-08-28 11:15:56 "jpg",
2023-08-28 11:15:56 "jpe",
2023-08-28 11:15:56 "png",
2023-08-28 11:15:56 "webp",
2023-08-28 11:15:56 "svg"
2023-08-28 11:15:56 ]
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "folder": "/app/data/images",
2023-08-28 11:15:56 "tempFolder": "/app/data/tmp",
2023-08-28 11:15:56 "photoMetadataSize": 524288
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "MetaFile": {
2023-08-28 11:15:56 "gpx": true,
2023-08-28 11:15:56 "GPXCompressing": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "onTheFly": true,
2023-08-28 11:15:56 "minDistance": 5,
2023-08-28 11:15:56 "minTimeDistance": 5000
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "markdown": true,
2023-08-28 11:15:56 "pg2conf": true,
2023-08-28 11:15:56 "supportedFormats": [
2023-08-28 11:15:56 "gpx",
2023-08-28 11:15:56 "pg2conf",
2023-08-28 11:15:56 "md"
2023-08-28 11:15:56 ]
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Album": {
2023-08-28 11:15:56 "enabled": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Search": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "searchCacheTimeout": 3600000,
2023-08-28 11:15:56 "AutoComplete": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "targetItemsPerCategory": 5,
2023-08-28 11:15:56 "maxItems": 30,
2023-08-28 11:15:56 "cacheTimeout": 3600000
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "maxMediaResult": 10000,
2023-08-28 11:15:56 "maxDirectoryResult": 200,
2023-08-28 11:15:56 "listDirectories": true,
2023-08-28 11:15:56 "listMetafiles": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Sharing": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "passwordProtected": true,
2023-08-28 11:15:56 "updateTimeout": 300000
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Map": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "useImageMarkers": true,
2023-08-28 11:15:56 "mapProvider": 1,
2023-08-28 11:15:56 "mapboxAccessToken": "",
2023-08-28 11:15:56 "customLayers": [
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "street",
2023-08-28 11:15:56 "url": ""
2023-08-28 11:15:56 }
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "maxPreviewMarkers": 50
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Faces": {
2023-08-28 11:15:56 "enabled": true,
2023-08-28 11:15:56 "keywordsToPersons": true,
2023-08-28 11:15:56 "writeAccessMinRole": 4,
2023-08-28 11:15:56 "readAccessMinRole": 3
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "RandomPhoto": {
2023-08-28 11:15:56 "enabled": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Database": {
2023-08-28 11:15:56 "type": 3,
2023-08-28 11:15:56 "dbFolder": "/app/data/db",
2023-08-28 11:15:56 "sqlite": {
2023-08-28 11:15:56 "DBFileName": "sqlite.db"
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "mysql": {
2023-08-28 11:15:56 "host": "localhost",
2023-08-28 11:15:56 "port": 3306,
2023-08-28 11:15:56 "database": "pigallery2",
2023-08-28 11:15:56 "username": "",
2023-08-28 11:15:56 "password": ""
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Indexing": {
2023-08-28 11:15:56 "cachedFolderTimeout": 3600000,
2023-08-28 11:15:56 "reIndexingSensitivity": 1,
2023-08-28 11:15:56 "excludeFolderList": [
2023-08-28 11:15:56 ".Trash-1000",
2023-08-28 11:15:56 ".dtrash",
2023-08-28 11:15:56 "$RECYCLE.BIN"
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "excludeFileList": []
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Preview": {
2023-08-28 11:15:56 "SearchQuery": {
2023-08-28 11:15:56 "type": 100,
2023-08-28 11:15:56 "text": ""
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Sorting": [
2023-08-28 11:15:56 6,
2023-08-28 11:15:56 4
2023-08-28 11:15:56 ]
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Duplicates": {
2023-08-28 11:15:56 "listingLimit": 1000
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "Jobs": {
2023-08-28 11:15:56 "maxSavedProgress": 20,
2023-08-28 11:15:56 "mediaProcessingBatchSize": 1000,
2023-08-28 11:15:56 "scheduled": [
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "Indexing",
2023-08-28 11:15:56 "jobName": "Indexing",
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "indexChangesOnly": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "allowParallelRun": false,
2023-08-28 11:15:56 "trigger": {
2023-08-28 11:15:56 "type": 1
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "Preview Filling",
2023-08-28 11:15:56 "jobName": "Preview Filling",
2023-08-28 11:15:56 "config": {},
2023-08-28 11:15:56 "allowParallelRun": false,
2023-08-28 11:15:56 "trigger": {
2023-08-28 11:15:56 "type": 4,
2023-08-28 11:15:56 "afterScheduleName": "Indexing"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "Thumbnail Generation",
2023-08-28 11:15:56 "jobName": "Thumbnail Generation",
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "sizes": [
2023-08-28 11:15:56 240
2023-08-28 11:15:56 ],
2023-08-28 11:15:56 "indexedOnly": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "allowParallelRun": false,
2023-08-28 11:15:56 "trigger": {
2023-08-28 11:15:56 "type": 4,
2023-08-28 11:15:56 "afterScheduleName": "Preview Filling"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "Video Converting",
2023-08-28 11:15:56 "jobName": "Video Converting",
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "indexedOnly": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "allowParallelRun": false,
2023-08-28 11:15:56 "trigger": {
2023-08-28 11:15:56 "type": 4,
2023-08-28 11:15:56 "afterScheduleName": "Preview Filling"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "GPX Compression",
2023-08-28 11:15:56 "jobName": "GPX Compression",
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "indexedOnly": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "allowParallelRun": false,
2023-08-28 11:15:56 "trigger": {
2023-08-28 11:15:56 "type": 4,
2023-08-28 11:15:56 "afterScheduleName": "Video Converting"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 },
2023-08-28 11:15:56 {
2023-08-28 11:15:56 "name": "Temp Folder Cleaning",
2023-08-28 11:15:56 "jobName": "Temp Folder Cleaning",
2023-08-28 11:15:56 "config": {
2023-08-28 11:15:56 "indexedOnly": true
2023-08-28 11:15:56 },
2023-08-28 11:15:56 "allowParallelRun": false,
2023-08-28 11:15:56 "trigger": {
2023-08-28 11:15:56 "type": 4,
2023-08-28 11:15:56 "afterScheduleName": "GPX Compression"
2023-08-28 11:15:56 }
2023-08-28 11:15:56 }
2023-08-28 11:15:56 ]
2023-08-28 11:15:56 }
2023-08-28 11:15:56 }
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[SILLY][ThreadPool] Creating thread pool with 1 workers
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[SILLY][ObjectManagers] Object manager reset begin
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][ObjectManagers] Object manager reset
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][SQLConnection] Creating connection: sqlite , with driver: better-sqlite3
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[INFO_][JobManager] Running job schedules
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][JobManager] skipping schedule:Indexing
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][JobManager] skipping schedule:Preview Filling
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][JobManager] skipping schedule:Thumbnail Generation
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][JobManager] skipping schedule:Video Converting
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][JobManager] skipping schedule:GPX Compression
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][JobManager] skipping schedule:Temp Folder Cleaning
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][ObjectManagers] SQL DB inited
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[INFO_][server] Listening on port 80
2023-08-28 11:15:56 8/28/2023, 4:15:56 PM[DEBUG][ThreadPool] Worker 19 is online, worker count: 1
2023-08-28 11:15:56 [Typeconfig] Loading config. Path: /app/data/config/config.json
2023-08-28 11:15:56 [Typeconfig] Loading defaults from file: undefined
2023-08-28 11:15:57 [Typeconfig] Loading defaults, def prefix: default
2023-08-28 11:15:57 [Typeconfig] no default cli found among these: {
2023-08-28 11:15:57 "expose": {
2023-08-28 11:15:57 "gc": true
2023-08-28 11:15:57 },
2023-08-28 11:15:57 "config": {
2023-08-28 11:15:57 "path": "/app/data/config/config.json"
2023-08-28 11:15:57 }
2023-08-28 11:15:57 }
2023-08-28 11:15:57 [Typeconfig] from env: {
2023-08-28 11:15:57 "Database": {
2023-08-28 11:15:57 "dbFolder": "/app/data/db"
2023-08-28 11:15:57 },
2023-08-28 11:15:57 "Media": {
2023-08-28 11:15:57 "folder": "/app/data/images",
2023-08-28 11:15:57 "tempFolder": "/app/data/tmp"
2023-08-28 11:15:57 }
2023-08-28 11:15:57 }
2023-08-28 11:15:57 [Typeconfig] Processing cli and ENV inputs: {
2023-08-28 11:15:57 "expose": {
2023-08-28 11:15:57 "gc": true
2023-08-28 11:15:57 },
2023-08-28 11:15:57 "config": {
2023-08-28 11:15:57 "path": "/app/data/config/config.json"
2023-08-28 11:15:57 }
2023-08-28 11:15:57 }
2023-08-28 11:15:57 [Typeconfig] Processing cli and ENV inputs: {
2023-08-28 11:15:57 "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
2023-08-28 11:15:57 "HOSTNAME": "eb5e68f0c52b",
2023-08-28 11:15:57 "NODE_ENV": "debug",
2023-08-28 11:15:57 "NODE_VERSION": "18.13.0",
2023-08-28 11:15:57 "YARN_VERSION": "1.22.19",
2023-08-28 11:15:57 "PI_DOCKER": true,
2023-08-28 11:15:57 "HOME": "/root",
2023-08-28 11:15:57 "VIPSHOME": "/target"
2023-08-28 11:15:57 }
2023-08-28 11:15:57 NODE_ENV environmental variable is set to debug, forcing all logs to print
2023-08-28 11:15:57 8/28/2023, 4:15:57 PM[DEBUG][Worker] Worker is waiting for tasks
2023-08-28 11:16:19 8/28/2023, 4:16:19 PM[VERBS] GET /pgapi/admin/jobs/scheduled/progress 200 10ms
2023-08-28 11:16:24 8/28/2023, 4:16:24 PM[VERBS] GET /pgapi/admin/jobs/scheduled/progress 304 10ms
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[INFO_][JOB] Running job : Indexing
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[DEBUG] POST /pgapi/admin/jobs/scheduled/Indexing/start 200 18ms
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[SILLY] Skipping reindexing, no change for: /
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[SILLY] Skipping reindexing, no change for: 2000
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[SILLY] Skipping reindexing, no change for: 2002
2023-08-28 11:16:25 8/28/2023, 4:16:25 PM[VERBS] GET /pgapi/admin/jobs/scheduled/progress 200 1ms
Environment (please complete the following information):
- OS: Mac OS 13.3.1 (Mac M1)
- Browser NA/Chrome
- tmp location and media location is on a ssd attached via USB-C and exfat file type. db is on main ssd and using sqlite.
- (the test folder i did before doing the family folder works fine on the same setup)
Used app version:
- docker- Engine: 24.0.2 Compose: v2.19.1
- release bpatrik/pigallery2:latest
- using docker on mac
About this issue
- Original URL
- State: open
- Created 10 months ago
- Comments: 20 (10 by maintainers)
Commits related to this issue
- Improving graceful degradation during indexing #704 — committed to bpatrik/pigallery2 by bpatrik 10 months ago
- Fixing missing faces, also adding E2E tests to test them #704, fixes #713 — committed to bpatrik/pigallery2 by bpatrik 10 months ago
I would go with edge. (Renamed from nightly)
– Sorry for being brief, sent from my phone.
On Sat, 2 Sept 2023, 17:19 atlas-shrugged08, @.***> wrote: