Thank you @Mathilde 🙂
I ran npm run clear
in cryptpad/
which deleted my admin user but does not invoke the onboarding procedure, only the standard landing page shows up.
$ npm run clear
> cryptpad@2024.6.1 clear
> node scripts/clear.js
? Are you sure? This will permanently delete all existing data on your instance. Yes
Deleting all data...
Deleting /var/www/virtual/username/cryptpad/data/pins
Deleted
Deleting /var/www/virtual/username/cryptpad/block
Deleted
Deleting /var/www/virtual/username/cryptpad/datastore
Deleted
Deleting /var/www/virtual/username/cryptpad/data/blobstage
Deleted
Deleting /var/www/virtual/username/cryptpad/blob
Deleted
Deleting /var/www/virtual/username/cryptpad/data/decrees
Deleted
Deleting /var/www/virtual/username/cryptpad/data
Deleted
Deleting /var/www/virtual/username/cryptpad/data/archive
Deleted
Deleting /var/www/virtual/username/cryptpad/data/tasks
Deleted
Success
Doing the same in cryptpad/www/
made no difference. In which directory should I run this command?
What puzzles me is that I see inconsistent locations for application_config.js
as per https://docs.cryptpad.org/en/admin_guide/customization.html … I followed:
- Make a copy of
customize.dist/application_config.js
in the customize folder.
- Copy the default value(s) to modify from
www/common/application_config_internal.js
into customize/application_config.js
.
Then again, the loginSalt
should be set in cryptpad/www/common/application_config.js
, but this directory only has application_config_internal.js
. As per above, we're told to write custom settings into customize/application_config.js
. If I take this verbatim, I would end up with different custom settings in two different places:
cryptpad/www/common/application_config.js
and
cryptpad/customize/application_config.js
… 😕. Could you please clarify?
Thank you!