Skip to content

permission denied, mkdir '/home/electerm/data/sqlite' #21

@wolfcdd

Description

@wolfcdd

升级后登录,提示这个错误,是需要手动更换为sqlite吗,原来的数据可以导入吗?

error › unhandledRejection Error: EACCES: permission denied, mkdir '/home/electerm/data/sqlite'
49
at Object.mkdirSync (node:fs:1363:26)
50
at file:///app/electerm-web/src/app/lib/sqlite.js:20:6
51
at ModuleJob.run (node:internal/modules/esm/module_job:345:25)
52
at async onImport.tracePromise.proto (node:internal/modules/esm/loader:665:26)
53
at async getDbModule (file:///app/electerm-web/src/app/lib/db.js:10:16)
54
at async dbAction (file:///app/electerm-web/src/app/lib/db.js:16:14)
55
at async getConfig (file:///app/electerm-web/src/app/lib/init.js:12:22)
56
at async getConstants (file:///app/electerm-web/src/app/lib/get-constants.js:15:18)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions