philomena-dev / philomena

Next-generation imageboard
GNU Affero General Public License v3.0
84 stars 29 forks source link

Unable to build with docker-compose #160

Closed AlejandroAkbal closed 2 years ago

AlejandroAkbal commented 2 years ago

Describe the bug I'm trying to set this project up in my machine with docker-compose, but there are some issues while running docker-compose up. The "cmark-gfm" git submodule is not fetched and the process fails with code 101.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repository
  2. Run docker-compose build and then docker-compose up
  3. See error

Expected behavior The project to build and boot up

Desktop (please complete the following information):

Additional context

Here is the complete log file https://pastebin.com/qsF0xcF9

liamwhite commented 2 years ago

specific error from cargo:

app_1            |     Updating git submodule `https://github.com/kivikakk/cmark-gfm.git`
app_1            | error: failed to get `comrak` as a dependency of package `philomena v0.3.0 (/srv/philomena/native/philomena)`
app_1            | 
app_1            | Caused by:
app_1            |   failed to load source for dependency `comrak`
app_1            | 
app_1            | Caused by:
app_1            |   Unable to update https://github.com/philomena-dev/comrak?branch=main#37afcb84
app_1            | 
app_1            | Caused by:
app_1            |   failed to update submodule `vendor/cmark-gfm`
app_1            | 
app_1            | Caused by:
app_1            |   object not found - no match for id (ca6e844ea9c983b2094f2d37ab6563abfbd38c0e); class=Odb (9); code=NotFound (-3)

Cargo might have changed the way they parse things, will investigate

liamwhite commented 2 years ago

Should be fixed now