Login loop nextcloud 18 apache with Docker

I just installed Nextcloud on docker. I recovered a database I had on another machine but I’m stuck in a login loop. I’ve tried other solutions online but most of them apply to php-fpm. The logs seems clean except for an error which I already had with the previous installation. However the user field seems empty.

    {"reqId":"aFdABTl0TCeNxfYiW08t","level":2,"time":"2020-05-15T14:45:41+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login?redirect_url=/apps/files/","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"eNFS1u3k5xNlsXur2hOo","level":2,"time":"2020-05-15T14:46:00+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"8nrMYsoThBv5HHJaxxeF","level":2,"time":"2020-05-15T14:46:06+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login?redirect_url=/apps/files/","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"dAuW1FC5hGMUIigKXWth","level":2,"time":"2020-05-15T14:46:12+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"YcewhBpvwKtMlsP9GQIA","level":2,"time":"2020-05-15T14:46:20+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"fS4J6xj6AMveNOW1XemW","level":2,"time":"2020-05-15T14:46:25+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login?redirect_url=/apps/files/","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"r2f340RApa6WQLTNN74u","level":2,"time":"2020-05-15T14:56:24+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}
    {"reqId":"0eRMFOBDCC5Kz2vWq2u0","level":2,"time":"2020-05-15T14:56:37+00:00","remoteAddr":"172.19.0.1","user":"--","app":"fulltextsearch","method":"GET","url":"/login?redirect_url=/apps/files/","message":"Issue while loading Provider: ocsms/OCA\\OcSms\\Provider\\FullTextSearchProvider - OCP\\AppFramework\\QueryException Could not resolve OCA\\OcSms\\Provider\\FullTextSearchProvider! Class OCA\\OcSms\\Provider\\FullTextSearchProvider does not exist","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0","version":"18.0.4.2"}

Can you help me out?