Avans-ATGM / infrastructure

ATGM Infrastructure Repository
0 stars 2 forks source link

SQLITE3 error #47

Closed Dirowa closed 2 years ago

Dirowa commented 2 years ago

According to the logs was a few days before the holidays a catasropic update on SQLITE3. The result of this, is that multiple codes dont work anymore on the galaxy server (bash screen) The result has for sofar tested that no new data can be uploaded to the galaxy server

the error message:

Traceback (most recent call last):
  File "metadata/set.py", line 1, in <module>
    from galaxy_ext.metadata.set_metadata import set_metadata; set_metadata()
  File "/srv/galaxy/server/lib/galaxy_ext/metadata/set_metadata.py", line 20, in <module>
    from galaxy.metadata.set_metadata import set_metadata
  File "/srv/galaxy/server/lib/galaxy/metadata/set_metadata.py", line 27, in <module>
    import galaxy.datatypes.registry
  File "/srv/galaxy/server/lib/galaxy/datatypes/registry.py", line 16, in <module>
    from . import (
  File "/srv/galaxy/server/lib/galaxy/datatypes/binary.py", line 27, in <module>
    from galaxy.datatypes.data import (
  File "/srv/galaxy/server/lib/galaxy/datatypes/data.py", line 27, in <module>
    from . import (
  File "/srv/galaxy/server/lib/galaxy/datatypes/dataproviders/__init__.py", line 18, in <module>
    from . import (
  File "/srv/galaxy/server/lib/galaxy/datatypes/dataproviders/dataset.py", line 16, in <module>
    from galaxy.util import sqlite
  File "/srv/galaxy/server/lib/galaxy/util/sqlite.py", line 2, in <module>
    import sqlite3
  File "/usr/lib/python3.8/sqlite3/__init__.py", line 23, in <module>
    from sqlite3.dbapi2 import *
  File "/usr/lib/python3.8/sqlite3/dbapi2.py", line 27, in <module>
    from _sqlite3 import *
ImportError: /usr/lib/python3.8/lib-dynload/_sqlite3.cpython-38-x86_64-linux-gnu.so: undefined symbol: sqlite3_enable_load_extension

Luckly more people have this error. I think the best way to proceed to just use ``` apt-get apt --reinstall install sqlite3 ````

or is there something i,m missing (*better safe then sorry when i try something like this) @hexylena

Dirowa commented 2 years ago

sofar what tried:

Edit: Somehow fixed the APT update. galaxy still have the same error

EDIT2: MD5sum of the _sqlite3.cpython-38-x86_64-linux-gnu_org.so is the same as the original in the ubuntu package for python 3.8.10

Trying to reinstall SQLITE3 with the updated version Old Version so we can revert back 3.37.0 2021-11-27 14:13:22 bd41822c7424d393a30e92ff6cb254d25c26769889c1499a18a0b9339f5d6c8a

hexylena commented 2 years ago

we did the following