Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings error: Error: Unknown Job :Thumbnail Generation #961

Open
kerryland opened this issue Dec 19, 2024 · 3 comments
Open

Settings error: Error: Unknown Job :Thumbnail Generation #961

kerryland opened this issue Dec 19, 2024 · 3 comments

Comments

@kerryland
Copy link

I have just updated to 2.0.3-edge, built October 27th, and the /admin page is providing a "Server Notification":

(1) Jobs error. Resetting to default for now to let the app start up. Please adjust the config properly.
"Error: Unknown Job :Thumbnail Generation"

Attempts to change "Exclude folder list" are rejected with "Error: Settings error: Error: Unknown Job :Thumbnail Generation" when I click save.

Server logs (optional)

12/19/2024, 1:20:42 AM[INFO_][JOB] Running job : Indexing
12/19/2024, 1:21:02 AM[INFO_][JOB] Job finished: Indexing
12/19/2024, 1:21:02 AM[INFO_][JOB] Running job : Album Cover Filling
12/19/2024, 1:24:51 AM[INFO_][JOB] Job finished: Album Cover Filling
12/19/2024, 1:24:51 AM[INFO_][JOB] Running job : Photo Converting
12/19/2024, 1:25:09 AM[ERROR] ErrorDTO {
  code: 60,
  message: 'Settings error: Error: Unknown Job :Thumbnail Generation',
  details: Error: Unknown Job :Thumbnail Generation
      at ConfigDiagnostics.testJobsConfig (/app/src/backend/model/diagnostics/ConfigDiagnostics.js:60:23)
      at ConfigDiagnostics.testConfig (/app/src/backend/model/diagnostics/ConfigDiagnostics.js:272:33)
      at async updateSettings (/app/src/backend/middlewares/admin/SettingsMWs.js:41:13),
  request: { method: '', url: '' }
}

and some more -- perhaps unrelated.

(process:1): GLib-GObject-WARNING **: 01:30:31.197: value "0" of type 'gint' is invalid or out of range for property 'width' of type 'gint'

(process:1): GLib-GObject-WARNING **: 01:30:31.197: value "0" of type 'gint' is invalid or out of range for property 'height' of type 'gint'
[Error: extract_area: parameter width not set
extract_area: parameter height not set
]
12/19/2024, 1:30:31 AM[ERROR] ErrorDTO {
  code: 32,
  message: 'Error during generating face thumbnail: Themis',
  details: 'Error: extract_area: parameter width not set\n' +
    'extract_area: parameter height not set\n',
  request: { method: '', url: '' }
}

(process:1): GLib-GObject-WARNING **: 01:30:31.222: value "0" of type 'gint' is invalid or out of range for property 'width' of type 'gint'

(process:1): GLib-GObject-WARNING **: 01:30:31.222: value "0" of type 'gint' is invalid or out of range for property 'height' of type 'gint'
[Error: extract_area: parameter width not set
extract_area: parameter height not set
]
12/19/2024, 1:30:31 AM[ERROR] ErrorDTO {
  code: 32,
  message: 'Error during generating face thumbnail: Vivian Greece',
  details: 'Error: extract_area: parameter width not set\n' +
    'extract_area: parameter height not set\n',
  request: { method: '', url: '' }
}
12/19/2024, 1:30:47 AM[ERROR] ErrorDTO {
  code: 60,
  message: 'Settings error: Error: Unknown Job :Thumbnail Generation',
  details: Error: Unknown Job :Thumbnail Generation
      at ConfigDiagnostics.testJobsConfig (/app/src/backend/model/diagnostics/ConfigDiagnostics.js:60:23)
      at ConfigDiagnostics.testConfig (/app/src/backend/model/diagnostics/ConfigDiagnostics.js:272:33)
      at async updateSettings (/app/src/backend/middlewares/admin/SettingsMWs.js:41:13),
  request: { method: '', url: '' }
}

Environment (please complete the following information):

  • OS: server runs on pi4, browser on windows 10
  • Browser: chrome

Used app version:

  • docker-edge (alpine)
@kerryland
Copy link
Author

...so I blew the database away and started again. Problem solved. I notice that I no longer have a "Thumbnail Generation" job listed, so I guess that explains the error message nicely :-)

@GWONG3
Copy link

GWONG3 commented Feb 1, 2025

...so I blew the database away and started again. Problem solved. I notice that I no longer have a "Thumbnail Generation" job listed, so I guess that explains the error message nicely :-)

How did you blew the database? I tried to perform a gallery reset and run reindex and the problem still not going away....

@kerryland
Copy link
Author

kerryland commented Feb 1, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants