The last job (Sync branch) failed with an error: ModuleNotFoundError("No module named 'thumbnail'") #11876

Closed
opened 2025-12-29 21:51:06 +01:00 by adam · 3 comments
Owner

Originally created by @aoforb on GitHub (Nov 27, 2025).

NetBox Edition

NetBox Community

NetBox Version

v4.4.6

Python Version

3.10

Steps to Reproduce

Hello,

After upgrading to v4.4.6 from v4.4.3 yesterday. Before the upgrade, I made sure the branch we have open was fully synced with the main, the migrate after upgrade was successful.

Since then some changes were made on the main branch which I want to sync, however the sync is now failing with this No module named 'thumbnail' error.

I checked the venv and the sorl.thumbnail module is present.

Thanks

Expected Behavior

Successful sync

Observed Behavior

{
    "log": [
        "Syncing branch core-switch (branch_7a6mf5u3)",
        "Found 3 changes to sync",
        "Setting branch status to syncing",
        "Applying change 875506 using schema_branch_7a6mf5u3 (IPAM | prefix REDACTED updated by REDACTED)",
        "No module named 'thumbnail'"
    ]
}
REDACTED@netbox:/opt/netbox$ sudo ./venv/bin/python3 netbox/manage.py nbshell
### NetBox interactive shell (netbox)
### Python v3.10.12 | Django v5.2.8 | NetBox Community v4.4.6
### Plugins: netbox_acls v1.9.1, netbox_bgp v0.17.0, netbox_branching v0.7.2, netbox_inventory v2.4.1, netbox_topology_views v4.4.0
### lsapps() & lsmodels() will show available models. Use help(<model>) for more info.
>>> import thumbnail
Traceback (most recent call last):
  File "/usr/lib/python3.10/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
ModuleNotFoundError: No module named 'thumbnail'
REDACTED@netbox:/opt/netbox$ sudo ./venv/bin/python3 netbox/manage.py nbshell
### NetBox interactive shell (netbox)
### Python v3.10.12 | Django v5.2.8 | NetBox Community v4.4.6
### Plugins: netbox_acls v1.9.1, netbox_bgp v0.17.0, netbox_branching v0.7.2, netbox_inventory v2.4.1, netbox_topology_views v4.4.0
### lsapps() & lsmodels() will show available models. Use help(<model>) for more info.
>>> 
>>> 
>>> import sorl.thumbnail
>>> 
Originally created by @aoforb on GitHub (Nov 27, 2025). ### NetBox Edition NetBox Community ### NetBox Version v4.4.6 ### Python Version 3.10 ### Steps to Reproduce Hello, After upgrading to v4.4.6 from v4.4.3 yesterday. Before the upgrade, I made sure the branch we have open was fully synced with the main, the migrate after upgrade was successful. Since then some changes were made on the main branch which I want to sync, however the sync is now failing with this `No module named 'thumbnail'` error. I checked the `venv` and the `sorl.thumbnail` module is present. Thanks ### Expected Behavior Successful sync ### Observed Behavior ``` { "log": [ "Syncing branch core-switch (branch_7a6mf5u3)", "Found 3 changes to sync", "Setting branch status to syncing", "Applying change 875506 using schema_branch_7a6mf5u3 (IPAM | prefix REDACTED updated by REDACTED)", "No module named 'thumbnail'" ] } ``` ``` REDACTED@netbox:/opt/netbox$ sudo ./venv/bin/python3 netbox/manage.py nbshell ### NetBox interactive shell (netbox) ### Python v3.10.12 | Django v5.2.8 | NetBox Community v4.4.6 ### Plugins: netbox_acls v1.9.1, netbox_bgp v0.17.0, netbox_branching v0.7.2, netbox_inventory v2.4.1, netbox_topology_views v4.4.0 ### lsapps() & lsmodels() will show available models. Use help(<model>) for more info. >>> import thumbnail Traceback (most recent call last): File "/usr/lib/python3.10/code.py", line 90, in runcode exec(code, self.locals) File "<console>", line 1, in <module> ModuleNotFoundError: No module named 'thumbnail' ``` ``` REDACTED@netbox:/opt/netbox$ sudo ./venv/bin/python3 netbox/manage.py nbshell ### NetBox interactive shell (netbox) ### Python v3.10.12 | Django v5.2.8 | NetBox Community v4.4.6 ### Plugins: netbox_acls v1.9.1, netbox_bgp v0.17.0, netbox_branching v0.7.2, netbox_inventory v2.4.1, netbox_topology_views v4.4.0 ### lsapps() & lsmodels() will show available models. Use help(<model>) for more info. >>> >>> >>> import sorl.thumbnail >>> ```
adam added the netbox label 2025-12-29 21:51:06 +01:00
adam closed this issue 2025-12-29 21:51:06 +01:00
Author
Owner

@jeremystretch commented on GitHub (Nov 27, 2025):

Hi @aoforb, please submit this bug to the netbox-branching repository. This repository only tracks bugs in NetBox itself.

@jeremystretch commented on GitHub (Nov 27, 2025): Hi @aoforb, please submit this bug to the [netbox-branching](https://github.com/netboxlabs/netbox-branching) repository. This repository only tracks bugs in NetBox itself.
Author
Owner

@jeremystretch commented on GitHub (Nov 27, 2025):

I've gone ahead and created netboxlabs/netbox-branching#371 to capture the root issue here, no additional bug report is needed. But in the future, please be sure to submit plugin bugs to the repository of the affected plugin.

@jeremystretch commented on GitHub (Nov 27, 2025): I've gone ahead and created netboxlabs/netbox-branching#371 to capture the root issue here, no additional bug report is needed. But in the future, please be sure to submit plugin bugs to the repository of the affected plugin.
Author
Owner

@aoforb commented on GitHub (Nov 27, 2025):

Thank you

@aoforb commented on GitHub (Nov 27, 2025): Thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#11876