Tuesday, May 02, 2023
apps@conference.yunohost.org
May
Mon Tue Wed Thu Fri Sat Sun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
       
             

[15:45:51] <lapineige> "403 forbidden" ^^
[15:45:52] <lapineige> The good news is that I successfully reached a point where Bonfire package can be installed.
The bad one is that it's not working correctly and I can't debug this from CI ^^
[16:36:58] <lapineige> Ok. I found a bit more instructions in Bonfire docs
[16:36:58] <lapineige> I don't really what it means 😅
[16:37:05] <orhtej2> I think you're supposed to pass-through to bonfire underlying process rather than ask nginx to serve semi-static files
[16:37:05] <orhtej2> > I don't really what it means 😅

you don't want nginx to serve the files but rather to forward requests to some other server process actually running the app
[16:37:05] <orhtej2> shouldn't `nginx.conf` be more in line with [PeerTube](https://github.com/YunoHost-Apps/peertube_ynh/blob/master/conf/nginx.conf#L19)?
[19:09:24] <Yunohost Git/Infra notifications> [apps] @tituspijean approved [pull request #1667](https://github.com/YunoHost/apps/pull/1667#pullrequestreview-1409730005) Add mStream
[19:09:27] <Yunohost Git/Infra notifications> [apps] @tituspijean merged [pull request #1667](https://github.com/YunoHost/apps/pull/1667): Add mStream
[19:09:27] <Yunohost Git/Infra notifications> [apps] @tituspijean pushed 3 commits to master ([5144477ca5cf...d93374e03790](https://github.com/YunoHost/apps/compare/5144477ca5cf...d93374e03790))
[19:09:34] <Yunohost Git/Infra notifications> [apps/master] Update apps.toml - Éric Gaspar
[19:09:35] <Yunohost Git/Infra notifications> [apps] @tituspijean deleted branch Add-mStream
[19:09:37] <Yunohost Git/Infra notifications> [apps/master] Create mstream.png - Éric Gaspar
[19:09:41] <Yunohost Git/Infra notifications> [apps/master] Merge pull request #1667 from YunoHost/Add-mStream Add mStream - tituspijean
[20:05:50] <lapineige> CI is stuck with many
> Warning: Failed to restore snapshot? Retrying in 20 sec ...
Error: If this keeps happening, restarting the LXD daemon might help 😐️

Since this afternoon.
I launched (and restarted) it many times on the same project, maybe it's linked ?
And the last 2 CI runs where frozen (?) after a while.
[20:06:48] <lapineige> I started a new one, seems to be working eventually… we'll see
[20:13:01] <lapineige> stuck again
[20:43:46] <lapineige> > stuck again

same on my server, this seems unrealted to CI
[21:27:05] <lapineige> I don't understand why it's now stuck at some step that was "working" before 🤔
Packaging blackmagic
[21:28:09] <lapineige> oh well ok so if I run the first `just` command with sudo -u bonfire, it's stuck, if I don't (but using it for the next ones) it works 🤔
[21:28:26] <lapineige> Anyway Nginx config is still broken, 404 not found
[21:41:40] <orhtej2> Have you considered installing it somewhere to see what's actually going on? Even if you get http 200 in CI it doesn't mean it's actually working as expected.
[21:42:15] <lapineige> I'm trying right now because CI is too limited
[21:42:30] <lapineige> I wanted first to make sure it work crash everything ^^
[21:56:07] <orhtej2> [This is the Mr](https://github.com/YunoHost-Apps/bonfire_ynh/pull/2/files#diff-6233345de4867c7ccf72bac1fc1067988d2a4c8e1ab9a746956eafccf88cfed2)?
[22:06:07] <lapineige> For some strange reason no nginx conf file is created…
edit: solved, it worked this time
[22:18:26] <lapineige> Ok I made some progress (turns out it needed a newer version of Elixir, but the output in CI did not show the error…), but now I'm getting in the dirty troubles with just…
First this error:
```
Could not find Hex, which is needed to build dependency :surface
Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn] y
```
I don't know if/where to run this command 🤔

The second one when running the `just dep-get` command, with a strange error.
```
* Updating linkify (https://github.com/bonfire-networks/linkify - origin/master)
fatal: reference is not a tree: e15ff9c5f885c65177c42a5b99669423370d8967
** (Mix) Command "git --git-dir=.git checkout --quiet e15ff9c5f885c65177c42a5b99669423370d8967" failed

```


[22:26:31] <orhtej2> The one with linkify I saw earlier, perhaps a broken tag?
[22:27:55] <orhtej2> And they explicitly say to use elixir from some package manager, Debian ships 1.14 only in sid for some reason
[22:29:17] <lapineige> > The one with linkify I saw earlier, perhaps a broken tag?

It's a valid git commit : https://github.com/bonfire-networks/linkify/commit/e15ff9c5f885c65177c42a5b99669423370d8967
[22:30:29] <lapineige> > And they explicitly say to use elixir from some package manager, Debian ships 1.14 only in sid for some reason

yeah I understood later that the version 1.10 in Debian Bullseye is not good, I switched to v13 as recommended
[22:30:33] <orhtej2> > It's a valid git commit : https://github.com/bonfire-networks/linkify/commit/e15ff9c5f885c65177c42a5b99669423370d8967

It happens if you clone as well, they shallow clone deps
[22:30:35] <lapineige> (but Yunohost app does not set a git repo)
[22:33:22] <lapineige> I don't know of to fix this ☹️
[22:42:19] <orhtej2> > I don't know of to fix this ☹️

You can always try going back a version
[22:42:38] <lapineige> I don't know where I can change it
[22:42:52] <lapineige> it tries to download it on its own
[22:44:33] <lapineige> edit: found it https://github.com/bonfire-networks/bonfire-app/blob/fc399c8e072363b5445b57da882fe9d38a13e37f/mix.lock#L127
[22:46:34] <lapineige> and if I remove the line, it populates it with a new one (and the lastest commit, the one I linked)
[22:46:54] <lapineige> blackmagic
[22:56:22] <lapineige> And now I have a new dependency, erlang-dev, but…
`erlang-dev : Depends: erlang-base (= 1:25.0.4-1) but it is not going to be installed`
[22:56:26] <lapineige> This is painfull -_-
[22:57:01] <lapineige> (yeah obviously official repo have… `1:25.0-1`)
[23:01:39] <lapineige> (yeah obviously official repo have… `1:25.0-1`)
edit: never mind, default debian repo as good enough version
[23:15:33] <lapineige> I did a bug report just in case : https://github.com/bonfire-networks/linkify/issues/1
edit : they fixed it ! 🎉