LTD-Beget / sprutio

Beget File Manager App
https://sprut.io
GNU General Public License v3.0
474 stars 87 forks source link

Не работает авторизация #115

Open derristy opened 1 year ago

derristy commented 1 year ago

pyportal: controller.py #64 : fm-rpc:INFO [2023-03-29 20:17:01,503][178] [id:96006a66] Exec: MainController.action_authenticate({'login': b'test', 'password': b'test'}) pyportal: main_controller.py #72 : fm-rpc:DEBUG [2023-03-29 20:17:04,693][179] [id:96006a66] Process on_error() data: {'error': True, 'message': 'Not Authenticated - 7 (Authentication failure) ("test":"test"):', 'traceback': 'Traceback (most recent call last):\n' ' File "/rpc/lib/FileManager/workers/main/Authenticate.py", ' 'line 12, in run\n' ' self.preload()\n' ' File "/rpc/lib/FileManager/workers/baseWorkerCustomer.py", ' 'line 37, in preload\n' " raise Exception('Not Authenticated - %s (%s) " '("%s":"%s"):\' % (p.code, p.reason, self.login, ' 'self.password))\n' 'Exception: Not Authenticated - 7 (Authentication failure) ' '("test":"test"):\n'} pyportal: main_controller.py #101 : fm-rpc:INFO [2023-03-29 20:17:04,697][178] [id:96006a66] Process on_finish() pyportal: main_controller.py #102 : fm-rpc:INFO [2023-03-29 20:17:04,698][178] [id:96006a66] Process exit code 0 info = <Authenticate(Authenticate-1, stopped)> pyportal: handler.py #77 : fm-rpc:DEBUG [2023-03-29 20:17:04,699][178] [id:96006a66] Request completed in seconds: 3.2014944553375244

derristy commented 1 year ago

Нашел решение

Нужно выполнить команду docker exec -t -i sprutio_rpc_1 bash после passwd root

После того как установили пароль нужно перенести файл cp /etc/shadow /mnt/etc/shadow