CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
https://www.canasta.wiki
MIT License
36 stars 27 forks source link

cp: target 'Wiki/Settings.php' is not a directory #369

Open jakejellinek opened 3 months ago

jakejellinek commented 3 months ago

I'm trying to install according to the documentation, I have run the bash script to install, and then when it comes to creating the containers etc. I run the suggested command line and it fails:-

root@docs:~# canasta create -i MyWiki -n docs.mydomain.org -w "My Documentation Wiki" -a admin -o compose

2024/03/07 14:15:13 Using /etc/canasta for configuration... Enter the admin password (Press Enter to get saved password or, if one does not exist, autogenerate a password): Re-enter the admin password:

⠋ Creating Canasta installation 'MyWiki'... [0s] Successfully written to wikis.yaml ⠦ Creating Canasta installation 'MyWiki'... [0s] cp: target 'Wiki/Settings.php' is not a directory

A fatal error occured during the installation. Do you want to keep the files related to it? (y/n)

I'm using Ubuntu 22.04.4 LTS in a VM

jakejellinek commented 3 months ago

OK so I got this to work by changing "My Documentation Wiki" to "MyWiki" - I had thought it was the name of the Wiki, but it appears it is used as a directory name and the spaces were causing issues.

yaronkoren commented 3 months ago

@jakejellinek - thank you for reporting, and diagnosing, this problem. If spaces in a wiki name cause an error, that's a major bug - we will look into it.

ImMarkP commented 2 months ago

Hello! I can confirm this behaviour on a Debian 12 x86-64 VM with 4096MB RAM and 2vCPU.