Problem Number 1:

An unexpected error occurred. See your browser's console for more detailsUnable to create, retrieve, or remove encrypted credentials from the server. This is most commonly caused by a mismatch between the value of the blockPath value configured in cryptpad/config/config.js and the corresponding settings in your reverse proxy's configuration file, but it can also be explained by a websocket error. Changes to cryptpad/config/config.js will require a server restart in order for /api/config to be updated.
Test number 8
Returned value
false

I am using apache server. My config is:

# Global SSL Configuration
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLProxyCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
SSLHonorCipherOrder off
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLProxyProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLSessionCache "shmcb:/var/run/apache2/ssl_scache(512000)"
SSLSessionCacheTimeout 86400
SSLSessionTickets off
SSLUseStapling on
SSLStaplingCache "shmcb:/var/run/apache2/ssl_stapling(32768)"

# Redirect HTTP (Port 80) to HTTPS (Port 443)
<VirtualHost *:80>
    ServerName docs.yoursweetspot.ai
    ServerAlias docs.sandbox.yoursweetspot.ai

    # Redirect all traffic to HTTPS
    Redirect permanent / https://docs.yoursweetspot.ai/

    # Optionally log redirection requests
    ErrorLog ${APACHE_LOG_DIR}/docs.yoursweetspot.ai-error.log
    CustomLog ${APACHE_LOG_DIR}/docs.yoursweetspot.ai-access.log combined
</VirtualHost>

# SSL Configuration for HTTPS (Port 443)
<VirtualHost *:443>
    ServerName docs.yoursweetspot.ai
    ServerAlias docs.sandbox.yoursweetspot.ai

    # Enable Strict Transport Security (HSTS) for enhanced security
    Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"

    # SSL Engine On
    SSLEngine on
    SSLCertificateFile /etc/letsencrypt/live/docs.yoursweetspot.ai/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/docs.yoursweetspot.ai/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf

    # Enable HTTP/2
    Protocols h2 http/1.1

    # Add MIME type for JavaScript modules
    AddType application/javascript mjs

    # Main CryptPad application reverse proxy
    <Location "/">
        LimitRequestBody 157286400
        ProxyPass http://localhost:3000/ upgrade=websocket
        ProxyPassReverse http://localhost:3000/
    </Location>

    # WebSocket reverse proxy for CryptPad
    <Location "/cryptpad_websocket">
        ProxyPass http://localhost:3003/ upgrade=websocket
        ProxyPassReverse http://localhost:3003/
    </Location>

    # Logging
    ErrorLog ${APACHE_LOG_DIR}/docs.yoursweetspot.ai-error.log
    CustomLog ${APACHE_LOG_DIR}/docs.yoursweetspot.ai-access.log combined
</VirtualHost>

Problem Number 2:

This instance's encrypted support ticket functionality has not been enabled. This can make it difficult for its users to safely report issues that concern sensitive information. This can be configured via the admin panel's Support tab.
Test number 15
Returned value

In the problem 2, I turned on support but I am getting this.

    alif1010 changed the title to Urgent: While I am running checkups, I got this problem. .

    alif1010 hello!

    I allowed myself to delete your duplicated post and format the first one properly. For multiple lines of code you should use three `, not one. 😊

    Regarding your issues, I'm no Apache HTTPd expert and we do mention it's not officially supported. I would however suggest comparing with the example provided in the docs/ folder and see if everything matches.

    If yes, then look at your CryptPad server. Is the Node.js main process running? If yes, how does look your config.js file?

    About the support functionality being enabled but the warning showing up on the checkup/ page, it's a known issue that has been fixed and will be part of the next release.

    When asking for community help, don't forget to add some information about your setup. Which can then help people better understand your issue and help you find its root cause. Some interesting information are:

    • Operating system and version
    • Web server or reverse-proxy and version
    • Web browser used to test and version

    Also, name your topic according to your issue, which is here "Unable to create, retrieve, or remove encrypted credentials from the server", this will help people understand quicker the scope of the topic and will maybe draw more interest for those having maybe faced the same issue.

    Hope this helps!

      Mathilde changed the title to Unable to create, retrieve, or remove encrypted credentials from the server .

      Mathilde

      Hello,
      My OS version is Ubuntu 22.04 (LTS)). My Apache version is 2.4.52. I used Chrome Version 128.0.6613.119 (Official Build) (64-bit) to test it. My config.js looks like this:-
      Image description

      I already fixed the first problem. I used this sudo chown -R cryptpad:cryptpad command to change file permission of blob, block, data, datastore and customize directories. So the problem is solved.

      But I can not solve the second problem. Is there any solution?

      a month later

      Hello @alif1010 , any news on your second problem (turning on support)?
      Did you solve it or do you still need help?

      I also had problems with enabling the support help-desk and couldn't find the cause. So I disabled it and tried again and suddenly it worked.

      Did you try this?
      Did you look at the CryptPad logs?

      Thanks.