Skip to content

Commit

Permalink
server: detect 32/64 mixed mode issue and provide hint on how to fix. #…
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Apr 1, 2023
1 parent 5f23873 commit cccbc33
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions server/python/plugin_remote.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,10 +384,9 @@ def onProxySerialization(value: Any, proxyId: str):
if platform.machine() == 'aarch64' and platform.architecture()[0] == '32bit':
print('=============================================')
print('Python machine vs architecture mismatch detected. Plugin installation may fail.')
print('If Scrypted is running in docker, the docker version may be 32bit while the host kernel is 64bit.')
print('This may be resolved by reinstalling a 64bit docker.')
print('The docker architecture can be checked with the command: "file $(which docker)"')
print('The host architecture can be checked with: "uname -m"')
print('This issue occurs if a 32bit system was upgraded to a 64bit kernel.')
print('Reverting to the 32bit kernel (or reflashing as native 64 bit is recommended.')
print('https://github.com/koush/scrypted/issues/678')
print('=============================================')

python_version = 'python%s' % str(
Expand Down

0 comments on commit cccbc33

Please sign in to comment.