Can't upgrade: AttributeError: 'NoneType' object has no attribute 'split'

Hi Kyle,
I am getting this error while upgrading from 8.15.1. I recently forced upgrade for PCF8574 issue. Is that the reason for this error?

File "/home/mycopitt/Mycodo/mycodo/mycodo_flask/routes_admin.py", line 534, in admin_upgrade
current_latest_major_version = current_latest_release.split('.')[0]
AttributeError: 'NoneType' object has no attribute 'split'
1 Like

I tried to run the command mentioned but I am getting following error
sed: couldn’t open temporary file /home/admin/Mycodo/mycodo/utils/sedqTrTll: Permission denied

1 Like

Thanks for the feedback. I updated the command in the issue to include “sudo”.

1 Like

Done… working perfectly

1 Like