Hello I can't get the docker version to work and lookinh at the logs the following folders cant be created:
Customize/www
Data/logs
I tired usimg a solution i saw in github issues but i mighy be doing something wrong since im not 100% famikiar with docker ecosystem.
Can i install the non docker version(the main one) and use docker proxy manager: https://nginxproxymanager.com/ to have public access.
How can i make it work this way?

Thank you

  • Hello,

    Hello I can't get the docker version to work and lookinh at the logs the following folders cant be created:
    Customize/www
    Data/logs

    Please set the appropriate access rights to the folders:

    sudo chown -R 4001:4001 data customize

    It should hopefully do the job!

    Can i install the non docker version(the main one) and use docker proxy manager: https://nginxproxymanager.com/ to have public access.

    I'm not familiar with Nginx Proxy Manager, however it surely sounds like it's feasible. Note that we will introduce some change with the next release (due in a few weeks) to fully support proxying everything to the CryptPad Node server directly. It will make that kind of setup of yours more easier.

    Have a good day!

Hello,

Hello I can't get the docker version to work and lookinh at the logs the following folders cant be created:
Customize/www
Data/logs

Please set the appropriate access rights to the folders:

sudo chown -R 4001:4001 data customize

It should hopefully do the job!

Can i install the non docker version(the main one) and use docker proxy manager: https://nginxproxymanager.com/ to have public access.

I'm not familiar with Nginx Proxy Manager, however it surely sounds like it's feasible. Note that we will introduce some change with the next release (due in a few weeks) to fully support proxying everything to the CryptPad Node server directly. It will make that kind of setup of yours more easier.

Have a good day!

    Thank you for your reply Mathilde Just in case I will post the log:
    I havent done what you suggested above, i will try and i hope the error pasted below will go away.

    Parsing /cryptpad/www/form/index.html
    Creating ./www/form/index.html
    Parsing /cryptpad/www/poll/index.html
    Creating ./www/poll/index.html
    Parsing /cryptpad/www/whiteboard/index.html
    Creating ./www/whiteboard/index.html
    Parsing /cryptpad/www/diagram/index.html
    Creating ./www/diagram/index.html
    Parsing /cryptpad/www/slide/index.html
    Creating ./www/slide/index.html
    Parsing /cryptpad/www/file/index.html
    Creating ./www/file/index.html
    Parsing /cryptpad/www/calendar/index.html
    Creating ./www/calendar/index.html
    Parsing /cryptpad/www/drive/index.html
    Creating ./www/drive/index.html
    Parsing /cryptpad/www/teams/index.html
    Creating ./www/teams/index.html
    Parsing /cryptpad/www/contacts/index.html
    Creating ./www/contacts/index.html
    Parsing /cryptpad/www/notifications/index.html
    Creating ./www/notifications/index.html
    Parsing /cryptpad/www/checkup/index.html
    Creating ./www/checkup/index.html
    Parsing /cryptpad/www/file/index.html
    Creating ./www/file/index.html
    Parsing /cryptpad/www/profile/index.html
    Creating ./www/profile/index.html
    Parsing /cryptpad/www/settings/index.html
    Creating ./www/settings/index.html
    Parsing /cryptpad/www/support/index.html
    Creating ./www/support/index.html
    Parsing ./www/register/index.html
    Creating ./www/register/index.html
    Parsing ./www/login/index.html
    Creating ./www/login/index.html
    Parsing ./customize.dist/contact.html
    Creating ./www/contact.html
    Parsing ./customize.dist/features.html
    Creating ./www/features.html
    Parsing ./customize.dist/index.html
    Creating ./www/index.html
    Copying built files to target directory (/cryptpad/customize)
    Failed to copy generated content to /cryptpad/customize
    Error: EACCES: permission denied, mkdir '/cryptpad/customize/www'
        at Object.mkdirSync (node:fs:1398:3)
        at mkDirAndCopy (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:105:6)
        at onDir (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:97:37)
        at getStats (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:43:37)
        at startCopy (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:36:10)
        at copyDirItem (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:118:10)
        at /cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:111:39
        at Array.forEach (<anonymous>)
        at copyDir (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:111:23)
        at onDir (/cryptpad/node_modules/fs-extra/lib/copy-sync/copy-sync.js:101:10) {
      errno: -13,
      syscall: 'mkdir',
      code: 'EACCES',
      path: '/cryptpad/customize/www'
    }
    Removing temporary build directory (/tmp/CRYPTPAD_TEMP_BUILD/)
    Successfully removed /tmp/CRYPTPAD_TEMP_BUILD/
    > cryptpad@5.4.0 start
    > node server.js
    /cryptpad/lib/log.js:93
                throw err;
                ^
    [Error: EACCES: permission denied, mkdir '/cryptpad/data/logs'] {
      errno: -13,
      code: 'EACCES',
      syscall: 'mkdir',
      path: '/cryptpad/data/logs'
    }

    Node.js v18.17.0

    Hi, I have it working but when trying to create a document i get this error:

    pad/inner.html?ver=5.4.0-1695141836492#%7B"cfg"%3A%7B"baseUrl"%3A"%2Fpad%2F"%2C"paths"%3A%7B"text"%3A"%2Fcomponents%2Frequirejs-plugins%2Flib%2Ftext"%2C"json"%3A"%2Fcomponents%2Frequirejs-plugins%2Fsrc%2Fjson"%2C"optional"%3A"%2Flib%2Foptional%2Foptional"%2C"jquery"%3A"%2Fcomponents%2Fjquery%2Fdist%2Fjquery.min"%2C"mermaid"%3A"%2Flib%2Fmermaid%2Fmermaid.min"%2C"json.sortify"%3A"%2Fcomponents%2Fjson.sortify%2Fdist%2FJSON.sortify"%2C"cm"%3A"%2Fcomponents%2Fcodemirror"%2C"tui-code-snippet"%3A"%2Flib%2Fcalendar%2Ftui-code-snippet.min"%2C"tui-date-picker"%3A"%2Flib%2Fcalendar%2Fdate-picker"%2C"netflux-client"%3A"%2Fcomponents%2Fnetflux-websocket%2Fnetflux-client"%2C"chainpad-netflux"%3A"%2Fcomponents%2Fchainpad-netflux%2Fchainpad-netflux"%2C"chainpad-listmap"%3A"%2Fcomponents%2Fchainpad-listmap%2Fchainpad-listmap"%2C"cm-extra"%3A"%2Flib%2Fcodemirror-extra-modes"%2C"asciidoctor"%3A"%2Flib%2Fasciidoctor%2Fasciidoctor.min"%7D%2C"map"%3A%7B"*"%3A%7B"css"%3A"%2Fcomponents%2Frequire-css%2Fcss.js"%2C"less"%3A"%2Fcommon%2FRequireLess.js"%2C"%2Fbower_components%2Ftweetnacl%2Fnacl-fast.min.js"%3A"%2Fcomponents%2Ftweetnacl%2Fnacl-fast.min.js"%7D%7D%2C"waitSeconds"%3A600%2C"urlArgs"%3A"ver%3D5.4.0-1695141836492"%7D%2C"req"%3A%5B"%2Fcommon%2Floading.js"%5D%2C"pfx"%3A"https%3A%2F%2Flab2.procert.mx"%2C"themeOS"%3A"dark"%2C"lang"%3A"es"%2C"time"%3A1695142244669%7D e
    a year later