sabre-io / Baikal

Baïkal is a Calendar+Contacts server
https://sabre.io/baikal/
GNU General Public License v3.0
2.44k stars 282 forks source link

Baikal.yaml does not exist #1179

Closed SvenPfiffner closed 1 year ago

SvenPfiffner commented 1 year ago

Hi there! I am currently trying to set up baikal on our server and am stuck with the following error.

Baikal version: 0.9.3

After unpacking the release version of Baikal and trying to access the installer over ".../baikal/html/" the following PHP error is given

Symfony\Component\Yaml\Exception\ParseException: File ".../baikal/config/baikal.yaml" does not exist. in ...\baikal\vendor\symfony\yaml\Parser.php:68

Inspection of the config folder reveals that the only file present is .empty.

PS: The config folder is writable as this was mentioned in the installation guide.

vdbhb59 commented 1 year ago

Hi, I was stuck at same error. Try this: https://subdomain.domain/html/index.php and it will redirect to the installation URL below, or you can directly go the installation URL as: https://subdomain.domain/html/admin/install/

The subdomain.domain can also be your domain only, and still work. However, I will suggest to do it over a subdomain, to keep your main domain untouched.

I am trying to find the code, and will raise a PR for it.

SvenPfiffner commented 1 year ago

Amazing! We ended up installing baikal on a linux debian vm in the network now. That way it worked first try for us.

The error mentioned above seems to come up with installation on windows server; we've encountered it on several machines. But i just tried your approach on windows server and that way it worked for me.

So if you need to get baikal running on windows I can second this answer.

Thanks!

vdbhb59 commented 1 year ago

Actually, my method was on CentOS7 and Debian11. For both of them I had to do it the way I mentioned. Also, I have a shared hosting, so non-root method, and manually uploading the release file and extracting. Hope this helps further.

Also: This /admin path is written in the upgrade process as well here- https://sabre.io/baikal/upgrade/

Open the administration panel on the server. Usually this is something like http://dav.example.org/baikal/html/admin/.