Missing mariadb compose file #27

Closed
opened 2022-05-19 21:33:10 +00:00 by aadil · 8 comments
Owner
❯ abra app deploy files.aadils.computer
FATA[0007] open /home/aadil/.abra/recipes/nextcloud/compose.mariadb.yml: no such file or directory 

did I miss a step or something? Here's how I tried to set it up:

  1. abra app new nextcloud -S
  2. abra app config files.aadils.computer (update url in config file)
  3. abra app deploy files.aadils.computer
```sh ❯ abra app deploy files.aadils.computer FATA[0007] open /home/aadil/.abra/recipes/nextcloud/compose.mariadb.yml: no such file or directory ``` did I miss a step or something? Here's how I tried to set it up: 1. `abra app new nextcloud -S` 2. `abra app config files.aadils.computer` (update url in config file) 3. `abra app deploy files.aadils.computer`
Owner

Soooo, some work just went down on the database stuff in #26 /cc @yksflip and I believe you need to do this in your .env file:

COMPOSE_FILE="compose.yml"
COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml"

This should have been covered in the .env.sample file you received on new app creation but maybe you created it before this upgrade work happened? Unsure.

801e0a0762/.env.sample (L8-L10)

Other work-arounds may be doing something like:

cd ~/.abra/recipes/nextcloud
git checkout main
git pull origin main

Unsure of your local git repository state, it could be confusing abra potentially.

Soooo, some work just went down on the database stuff in https://git.coopcloud.tech/coop-cloud/nextcloud/pulls/26 /cc @yksflip and I believe you need to do this in your `.env` file: ``` COMPOSE_FILE="compose.yml" COMPOSE_FILE="$COMPOSE_FILE:compose.mariadb.yml" ``` This should have been covered in the `.env.sample` file you received on new app creation but maybe you created it before this upgrade work happened? Unsure. > https://git.coopcloud.tech/coop-cloud/nextcloud/src/commit/801e0a0762df57b327e8fb8ccab5a7dc23c07fdc/.env.sample#L8-L10 Other work-arounds may be doing something like: ``` cd ~/.abra/recipes/nextcloud git checkout main git pull origin main ``` Unsure of your local git repository state, it could be confusing `abra` potentially.
Author
Owner

hmm so I tried the git checkout main and git pull origin main, but when I run abra app deploy I get the same error. I checked the nextcloud recipe directory and it reverted to the previous git state.

hmm so I tried the `git checkout main` and `git pull origin main`, but when I run `abra app deploy` I get the same error. I checked the nextcloud recipe directory and it reverted to the previous git state.
Owner

Ah hmm, perhaps checking out the latest once more and running deploy -C?

I think we need to publish this new version in the catalogue which I will try to do soon.

Ah hmm, perhaps checking out the latest once more and running `deploy -C`? I think we need to publish this new version in the catalogue which I will try to do soon.
Owner

hmm I thought I did that here maybe i did smth wrong?

hmm I thought I did that [here](https://git.coopcloud.tech/coop-cloud/recipes-catalogue-json/commit/b49e41600e73e7159c40ba545363c3ec16089817) maybe i did smth wrong?
Owner

hmm I thought I did that here maybe i did smth wrong?

Ah, nice! I deployed this by running make in ~/.abra/catalogue. I think only Autonomic people can actually deploy the changes at the moment 😿 We need to work out access or better, automation to get those changes out as they come in.

> hmm I thought I did that here maybe i did smth wrong? Ah, nice! I deployed this by running `make` in `~/.abra/catalogue`. I think only Autonomic people can actually deploy the changes at the moment 😿 We need to work out access or better, automation to get those changes out as they come in.
Owner

Also, please note folks, we've not really had several folks using a recipe ("operators") and several folks maintaining that recipe ("maintainers") at the same time before imho, so we're working this out as we go along 😆 Thanks for patience on these growing pains...

Also, please note folks, we've not really had several folks using a recipe ("operators") and several folks maintaining that recipe ("maintainers") at the same time before imho, so we're working this out as we go along 😆 Thanks for patience on these growing pains...
Owner

Oh, I mistakenly didn't deploy the changes 🦀 but @knoflook is picking this up 🤞

Oh, I mistakenly didn't deploy the changes 🦀 but @knoflook is picking this up 🤞
Owner

This should be fixed now! Ping on matrix chat if you want new catalogue changes deployed for now. Feel free to re-open if stuff is still borked!

This should be fixed now! Ping on matrix chat if you want new catalogue changes deployed for now. Feel free to re-open if stuff is still borked!
Sign in to join this conversation.
No Label
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/nextcloud#27
No description provided.