Open derristy opened 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
Нашел решение
Нужно выполнить команду docker exec -t -i sprutio_rpc_1 bash после passwd root
docker exec -t -i sprutio_rpc_1 bash
passwd root
После того как установили пароль нужно перенести файл cp /etc/shadow /mnt/etc/shadow
cp /etc/shadow /mnt/etc/shadow
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