Error when upgrade maas snap v3.1.2. to 3.4

Bug #2055401 reported by Dinh Tam Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Undecided
Unassigned

Bug Description

I tried to upgrade Maas version 3.1.2 to 3.4 but when I initialized, I was having an error RuntimeError: can't start new thread (as in the attached photo). Can you help me fix it ? I installed by snap.
Postgresql version 14.9.2
Snap version 2.61.1

Revision history for this message
Dinh Tam Nguyen (tamnd17) wrote :

Error in attached photo

description: updated
Revision history for this message
Jacopo Rota (r00ta) wrote (last edit ):

The upgrade is done with sudo snap refresh --channel=3.4/stable maas

Changed in maas:
status: New → Invalid
Revision history for this message
Dinh Tam Nguyen (tamnd17) wrote :

Because the server where maas is installed does not have an internet connection, I have to download each snap file at https://api.snapcraft.io/api/v1/snaps/download/.
Then, I installed with the command "snap install --dangerous *.snap" each file

Revision history for this message
Jacopo Rota (r00ta) wrote :

Well, this is relevant.

When you use --dangerous there are differences.

You have to run
```
snap connections maas | awk '$1 != "content" && $3 == "-" {print $2}' | xargs -r -n1 sudo snap connect
```

and then

```
sudo snap restart maas
```

Revision history for this message
Dinh Tam Nguyen (tamnd17) wrote :

I have executed the above command but still get the same error as before

Revision history for this message
Dinh Tam Nguyen (tamnd17) wrote :

When i executed "snap connections maas | awk '$1 != "content" && $3 == "-" {print $2}'", result was null

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.