How do I reset my XO password?
-
Hello,
I can't find xo-server-recover-account tool. Is it an extra tool?Thank you.
-
Hi,
If you want assistance, you must provide some context Are you using XOA or XO from the sources? If the sources, have you installed it following our guide or via a 3rd party script provider?
-
If you are running XO from the sources, then the following should work --
cd \opt\xen-orchestra // Adjust to your main XO directory as needed ./node_modules/xo-server/dist/recover-account-cli.mjs --help
In XOA,
xo-server-recover-account
is symlinked to the above file. -
Hi @Danp,
Thank you so much for your reply.
I got the following error:# ./node_modules/xo-server/dist/recover-account-cli.mjs admin Password (leave empty for random): ******* ā MISCONF Redis is configured to save RDB snapshots, but it's currently unable to persist to disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. undefined
-
@jasonnix Can you show us the output of
df -h
? -
Sure @Danp.
# df -h Filesystem Size Used Avail Use% Mounted on udev 1.9G 0 1.9G 0% /dev tmpfs 390M 1.2M 388M 1% /run /dev/mapper/XO--vg-root 9.9G 9.8G 0 100% / tmpfs 1.9G 0 1.9G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock /dev/xvda1 455M 107M 324M 25% /boot /dev/mapper/XO--vg-home 18G 1.2G 16G 7% /home tmpfs 390M 0 390M 0% /run/user/1000 overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/0e011d58e7503beccd9282090df460ef949a1dca7403f5a5c4c46263ab5b0d1c/merged overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/2b13a8e34054bf192c39d1f4086cf71f5f0c6929b7650e1400e0fb2c7a46f0b5/merged overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/92d4574890e095d4721be60502c4cba0e17c48ed37a2ddad4214d47b68587425/merged overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/bb69a180860c8eb012ad5fdf82e227906d887cc66ba1c6a2ae23d52802bc394e/merged overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/a419c094f8e5f4ea8672d1d0b01947d2db9a206be5554a43fcb5f1fb72c3c3bd/merged overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/4e28ba0551b4d24fb0430a46c53d119b18ef1b0a50cab3d984c8b196492e0fb0/merged overlay 9.9G 9.8G 0 100% /var/lib/docker/overlay2/b080821d7cd8f946abe06574c60843e0b025b7be528f4dac07b60f5b627325fe/merged
-
@jasonnix Your root disk is full, which is why the Redis database is unable to write changes to disk. Either delete some files or increase the VDI size.
-
@Danp, The problem is that I cannot log into XO and add a hard disk to the server.
-
Hello,
How can I add a new disk to my VM via CLI?
Can I remove/usr/local/share/.cache/yarn
directory?
Thank you. -
@jasonnix
Yeah that folder can fill up quite heavily.
See the following on how to clear the cache with yarn
https://yarnpkg.com/cli/cache/clean -
-