Deploy the latest Penpot container via Docker on a KVM virtual machine. The current version of Penpot is v2.12.1, and the deployment file adopted is the official docker-compose.yaml. Only two modifications have been made, which are generating the PENPOT_SECRET_KEY and adjusting the following two configurations in the penpot-backend section:
# PENPOT_ASSETS_STORAGE_BACKEND: assets-fs
# PENPOT_STORAGE_ASSETS_FS_DIRECTORY: /opt/data/assets
Revised to:
PENPOT_OBJECTS_STORAGE_BACKEND: fs
PENPOT_OBJECTS_STORAGE_FS_DIRECTORY: /opt/data/objects
However, the deployed container fails to export files in any format. Below is the error report:
Hint: ResourceRequest timed out
Prof ID: 8f973982-cac7-80fc-8007-69c96e8c17ab
Team ID: 8f973982-cac7-80fc-8007-69c96ee37653
URI: #lambdaisland/uri "http://192.168.122.114:9001/"
Data:
{:type :server-error, :code :timeout, :hint "ResourceRequest timed out", :data "(...)"}
{:type :internal, :code :timeout, :hint "ResourceRequest timed out"}
Trace:
PENPOT.dh@http://192.168.122.114:9001/js/shared.48e3f35bb-1767091500.js:305:102
PENPOT.eh@http://192.168.122.114:9001/js/shared.48e3f35bb-1767091500.js:305:419
PENPOT.fh@http://192.168.122.114:9001/js/shared.48e3f35bb-1767091500.js:305:372
PENPOT.KYa@http://192.168.122.114:9001/js/shared.48e3f35bb-1767091500.js:1413:424
OPa/<@http://192.168.122.114:9001/js/shared.48e3f35bb-1767091500.js:1112:242
f@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:16480
_@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:16430
Slr@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1877
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1371
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:14021
Slr@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1877
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1371
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:16543
Slr@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1877
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1371
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:14021
Slr@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1877
next@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:1371
Olr/</<@http://192.168.122.114:9001/js/libs.js?ts=1767091765225:793:4481
Last events:
[":app.main.data.dashboard/finalize"
":app.main.data.shortcuts/pop-shortcuts"
":app.main.data.persistence/initialize-persistence"
":app.main.data.plugins/update-plugins-permissions-peek"
":app.main.data.workspace.layout/ensure-layout"
":app.main.data.workspace/initialize-layout"
":app.main.data.notifications/hide"
":app.main.data.comments/retrieve-comment-threads"
":app.main.data.comments/fetch-profiles"
":app.main.data.fonts/fetch-fonts"
":app.main.data.workspace/initialize-workspace"
":app.main.data.fonts/fonts-loaded"
":app.main.data.workspace/fetch-bundle"
":app.main.data.comments/comment-threads-fetched"
":app.main.data.workspace/bundle-fetched"
":app.main.data.project/fetch-project"
":app.main.data.project/initialize-project"
":app.main.data.workspace.notifications/handle-presence"
":app.main.data.workspace.notifications/initialize"
":app.main.data.workspace.shape-layout/initialize-shape-layout"
":app.main.data.workspace/fetch-libries"
":app.main.data.plugins/check-open-plugin"
":app.main.data.workspace.fix-deleted-fonts/fix-deleted-fonts-for-local-library"
":app.main.data.workspace/workspace-initialized"
":app.main.router/navigate"
":app.main.data.common/go-to-workspace"
":app.main.data.event/event"
":app.main.router/navigated"
":app.main.data.workspace.pages/initialize-page*"
":app.main.data.workspace.fix-deleted-fonts/fix-deleted-fonts-for-page"
":app.main.data.workspace.thumbnails/watch-state-changes"
":app.main.data.workspace.libraries/watch-component-changes"
":app.main.data.workspace.pages/initialize-page"
":app.main.data.workspace.viewport/initialize-viewport"
":app.main.data.shortcuts/push-shortcuts"
":app.main.data.project/project-fetched"
":app.main.data.workspace.libraries/libraries-fetched"
":app.main.data.workspace/check-libraries-synchronization"
":app.main.data.workspace/all-libraries-resolved"
":app.main.data.workspace.guides/set-hover-guide"
":app.main.data.workspace.highlight/highlight-shape"
":app.main.data.workspace.collapse/expand-all-parents"
":app.main.router/navigate"
":app.main.data.workspace.selection/select-shape"
":app.main.router/navigated"
":app.main.data.workspace.highlight/dehighlight-shape"
":app.main.data.persistence/persistence-notification"
":app.main.data.workspace.common/set-workspace-visited"
":app.main.data.exports.assets/request-simple-export"
":app.main.data.event/event"
":app.main.data.exports.assets/clear-export-state"]
Nevertheless, the Penpot v2.8.0 container deployed previously using the same official docker-compose.yaml file had no issues with file export whatsoever.
I have been stuck with this problem for a long time and cannot figure out a solution.
Any help would be greatly appreciated!
Thank you very much!