wger-project / docker

Production...ish docker-compose image for wger
GNU Affero General Public License v3.0
125 stars 43 forks source link

Exercises have no base #26

Open deboy69 opened 2 years ago

deboy69 commented 2 years ago

web_1 | Exercise 2b0205ef-40cc-49d3-b982-d42b60f05ebb has no base, this should not happen!Skipping... web_1 | Exercise a9f2d62a-6a3c-4b20-b3ff-cb3654bf3195 has no base, this should not happen!Skipping... web_1 | Exercise 9baf0689-e7d6-4809-9318-01a043860a82 has no base, this should not happen!Skipping... web_1 | Exercise c81fa1a0-9bfe-474b-b78f-195ef791e499 has no base, this should not happen!Skipping... web_1 | Exercise ebdd3ac2-dfa2-4c36-8c41-fbcbec16a042 has no base, this should not happen!Skipping... web_1 | Exercise 9eb10e6a-97e1-46e1-b9ac-226bb25ca080 has no base, this should not happen!Skipping... web_1 | Exercise ae308b2f-ceb2-4517-93b8-3b90f37fad47 has no base, this should not happen!Skipping... web_1 | Exercise 87d5edb6-3ecf-4ff3-aa52-38a764e95120 has no base, this should not happen!Skipping... web_1 | Exercise 2ac4a5f9-2b47-436e-843a-655580746aa3 has no base, this should not happen!Skipping... web_1 | Exercise 1de6fe0a-f267-4509-84bc-2ecefbe5652d has no base, this should not happen!Skipping... web_1 | Exercise 6f43fa49-d64e-4132-bebc-2fd722da6997 has no base, this should not happen!Skipping... web_1 | Exercise d721e53c-afc2-4535-b0ff-61e158dd25f9 has no base, this should not happen!Skipping... web_1 | Exercise 84794882-9d1d-480b-89ad-4861647b8f82 has no base, this should not happen!Skipping...

Just an FYI

rolandgeider commented 2 years ago

mhhh, interesting. This is with a fresh install?

deboy69 commented 2 years ago

No, did a docker pull/up after changing the compose file to reflect the new changes.

marinkiii commented 2 years ago

Same problem here, and I cannot find exercises to add to a workout. also happens after a docker compose down and up. also on the app when searching for a exercise I get an error.

error: type '_OneByteString' is not a subtype of the type 'Map<String, dynamic>?'

rolandgeider commented 2 years ago

@marinkiii can you delete the postgres volume and spin up everything again?

marinkiii commented 2 years ago

postgres volume and spin up everything again?

Got is working again, but had to delete all volumes and spin up.

With only deleting the postgres volume it was looking good, but after some changes like downloading fixture data, image and exercise sync, adding new categories and exercises. And doing another docker down and up again same errors.

But all is working again after deleting all the volumes and images. and doing a docker up -d

Thanks!

rolandgeider commented 2 years ago

glad it works now! It's still somewhat strange, I could never reproduce this. In any case the sync logic will be updated soon, it should work a bit better

marinkiii commented 1 year ago

Got the same errors again after the latest update, removed all images and volumes and all is working. Still a strange error..

rolandgeider commented 1 year ago

This doesn't make any sense. The docker jobs basically do the same thing, why does it fail for some people? This is only logged and printed (neaning there is no exception/traceback) or does this stop the sync?

marinkiii commented 1 year ago

well because it is a fresh install, I was creating a new workout and because there are no cardio exercises I create then manually. So I go to the exercise menu item and in the overview, there are no exercises... while a few seconds ago I did an exercise-sync. this is only getting weirder.

But within a workout I can add exercises like hyperextension, but in the workout is shows the number for the exercise but not the text of the exercise.

empty exercise overview workout
rolandgeider commented 1 year ago

That's what I meant, when building the docker Images it always starts as a fresh install.

And why does it still find them on the search box? 😭

marinkiii commented 1 year ago

it makes no sense, it only finds the exercises in the workout search box.

marinkiii commented 1 year ago

if there is anything I can test or do, just let me know.

rolandgeider commented 1 year ago

I guess I could add more logging? But honestly, I don't know what could be done more