Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] Unprocessable Entity: [object Object] When attempting to change network profile of containers #442

Closed
fisherd80 opened this issue Jan 29, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@fisherd80
Copy link

fisherd80 commented Jan 29, 2022

Describe the bug
When attempting to change the network profile for the Wireguard container after it being created by docker-compose, the changes would not implement and the error "Unprocessable Entity: [object Object]" is shown.

I don't know what is causing this or if it is relating to Yacht.

To Reproduce
Steps to reproduce the behaviour:

  1. Opened the container "Wiregaurd" throught the Application panel.
  2. Stopped the container.
  3. Clicked edit and moved to "Network".
  4. Selected the network I wanted to change.
  5. Moved to the end to confirm this change.
  6. The above error is returned and the new settings are not applied.

Expected behavior
The container would restart with the new network profile. Allow it to see the other containers on this network.

Screenshots
image
image

Desktop (please complete the following information):
OS: DietPi (arm64 v:11 (bullseye)) - all updates done
Hardware: RPi 4 Model B (aarch64)
Yacht Version: Version: v0.0.7-alpha-2021-05-31--16

Any help would be greatly appreciated, as never come across this error before.

@fisherd80 fisherd80 added the bug Something isn't working label Jan 29, 2022
@SelfhostedPro
Copy link
Owner

Hmmmm. It looks like an issue with formatting. Can you try upgrading to the :devel branch or running it in parallel with your current one? (Template here: https://github.com/SelfhostedPro/yaml_test/raw/master/yacht-dev.yml )

@wickedyoda
Copy link
Collaborator

Please update the ticket with the issue's current status, if resolved please let us know and close the ticket.

@amarevite
Copy link

I've experienced a similar (perhaps the same) issue. When making any changes at all, they would not be saved. My issue turned out to be that the name for my sysctls variable was not saving (but the value was). Adding the name of the variable let me proceed as normal.
image

@marksherman
Copy link

marksherman commented Jan 28, 2023

I'm getting the same thing when I try to edit any property. I switched to :devel and it's the same.

When I click "Deploy" after editing, the modal asks if I'm sure, and I say "edit" (in contrast to "cancel"), and then the red error appears in the bottom and it brings me back to the beginning of the deploy wizard, the "general" tab.

All I get in the logs is this:

yacht    | INFO:      - "POST /api/apps/deploy HTTP/1.1" 422 Unprocessable Entity

Is there anything I can do? Recreating each container from scratch whenever I need to tweak something is a little tiring 😅

Screenshot 2023-01-28 at 12 08 38 PM

OS: Ubuntu 5.4.0-1078-raspi
Hardware: RPi 4 Model B (aarch64)
Yacht Version: Version: devel-2021-12-04--00

@wickedyoda
Copy link
Collaborator

This is a known issue, and we are working on it currently.

image

@wickedyoda
Copy link
Collaborator

image

@wickedyoda
Copy link
Collaborator

The same issue is happening on the nightly build. @SelfhostedPro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

5 participants