Hello,
When I open this page under the development target, I encounter an error related to a server connection query. If I publish to the live site, it works as expected.
I've confirmed that my database connections are both set up and tested successfully. Database is a cloud database hosted by Digital Ocean.
I'd appreciate any guidance. Thanks!
Error: ENOENT: no such file or directory, open '/opt/node_app/repropops.crt'
at Object.openSync (node:fs:561:18)
at Object.readFileSync (node:fs:445:35)
at App.setDbConnection (/opt/node_app/lib/core/app.js:386:40)
at App.getDbConnection (/opt/node_app/lib/core/app.js:523:17)
at App.select (/opt/node_app/lib/modules/dbconnector.js:15:25)
at App._exec (/opt/node_app/lib/core/app.js:722:49)
at App.exec (/opt/node_app/lib/core/app.js:655:16)
at App.define (/opt/node_app/lib/core/app.js:637:16) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/opt/node_app/repropops.crt'
From this text I conclude you're using Docker in the development target
From this text the issue becomes clear, the explanation is in this post:
So you have to put your file in one of those folders that are bind-mounted to the Docker container. What I usually do instead is create a folder called "storage" and configure that in the project settings as the uploads folder