Last modified by Alexandru Pentilescu on 2023/06/25 18:56

From version 47.1
edited by Alexandru Pentilescu
on 2022/06/09 23:25
Change comment: There is no comment for this version
To version 48.1
edited by Alexandru Pentilescu
on 2022/06/09 23:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -292,6 +292,11 @@
292 292  As such, you, as the administrator, should change these encryption keys to your own, randomly generated ones. To do so, go to <your XWiki directory>/data/xwiki-data/data/ and modify the "xwiki.cfg" configuration file there. This file should have two configuration options called "xwiki.authentication.validationKey" and "xwiki.authentication.encryptionKey". Generate, from scratch, two different 32 character long encryption keys and replace the default ones with your ones. Uppercase and lowercase letters, as well as digits, are allowed. I don't believe other symbols are accepted though.
293 293  Change these and restart the docker container, for the changes to apply.
294 294  
295 +
296 +== Make the "xwiki-data" directory accessible to non-root users ==
297 +For whatever reason, my setup generated the "xwiki-data" directory under my XWiki folder as being owned by the root user and under the root group, with permission levels of "rwx------". If you're not already the root user on that machine, these permission levels are problematic as they will prevent you from cd-ing into it and making necessary configuration changes, nor even backing up that directory for the future.
298 +As such, please remember to "sudo chmode 655 -R xwiki-data/" to make it accessible! If this security configuration is not appropriate for your use cases, you may tweak it to fit your needs!
299 +
295 295  = External references =
296 296  
297 297  [[Official docker guide for installing XWiki>>https://github.com/xwiki/xwiki-docker/blob/master/README.md]]