Hello @nebz
Je me permet de relancer le sujet : Non démarrage démon unifi suite mise à jour unifi en 7.1.61
Impossible de relancer le démon depuis cette foutue mise a jour sur clou key.
J’ai tenté avec deux comptes locaux
A ta dispo si besoin
Je te met la log du démon si cela peut t’aider :
[11-05-2022 00:25:08]INFO : Démarrage démon Unifi...
[11-05-2022 00:25:08]DEBUG : urlJeedom = http://192.168.1.100/core/api/jeeApi.php
[11-05-2022 00:25:08]DEBUG : apiKey = xxxxxxxxxxxxxxxxxxxx
[11-05-2022 00:25:08]DEBUG : serverPort = 55056
[11-05-2022 00:25:08]DEBUG : logLevel = debug
[11-05-2022 00:25:08]DEBUG : unifiHost = 192.168.1.8
[11-05-2022 00:25:08]DEBUG : unifiPort = 443
[11-05-2022 00:25:08]DEBUG : unifiSite = default
[11-05-2022 00:25:08]DEBUG : unifiUser = ubnt
[11-05-2022 00:25:08]DEBUG : unifiPass = xxxxxxxxxxxxxxxxxxx
[11-05-2022 00:25:08]DEBUG : ignoreLast_seen = false
[11-05-2022 00:25:08]DEBUG : ignoreSatisfaction = false
[11-05-2022 00:25:08]DEBUG : ignoreUptime = false
[11-05-2022 00:25:08]DEBUG : ignoreUpDown = true
[11-05-2022 00:25:08]DEBUG : regularPollingTime = 60000
[11-05-2022 00:25:08]INFO : Démon prêt et à l'écoute sur 55056 !
[11-05-2022 00:25:08]INFO : Connexion au controleur Unifi...
[11-05-2022 00:25:08]INFO : Login au controleur : OK
ERROR startListening: Error: Request failed with status code 403
at createError (/var/www/html/plugins/unifi/resources/node_modules/node-unifi/node_modules/axios/lib/core/createError.js:16:15)
at settle (/var/www/html/plugins/unifi/resources/node_modules/node-unifi/node_modules/axios/lib/core/settle.js:17:12)
at /var/www/html/plugins/unifi/resources/node_modules/node-unifi/node_modules/axios-cookiejar-support/lib/interceptors/response.js:83:25
at new Promise ()
at responseInterceptor (/var/www/html/plugins/unifi/resources/node_modules/node-unifi/node_modules/axios-cookiejar-support/lib/interceptors/response.js:82:9)
at /var/www/html/plugins/unifi/resources/node_modules/node-unifi/node_modules/axios-cookiejar-support/lib/index.js:130:67
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
config: {
url: 'https://192.168.1.8/proxy/network/dl/firmware/bundles.json',
method: 'post',
data: '{}',
headers: {
Accept: 'application/json, text/plain, */*',
'X-CSRF-Token': '51fe0b28-9306-4bdf-9b45-151134d8c7df',
'Content-Type': 'application/json',
Cookie: 'TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIwNWE5YWJiMi1hYmE1LTQ1YjMtYTc2MS0wOWJlYjQ2YWU2NDEiLCJjc3JmVG9rZW4iOiIwYjdhZDU2ZS1hYmU5LTQ3N2MtYjRjNS0wNDllZTU4MzQ4ZTUiLCJqdGkiOiIwZmFkN2E5Ni1hYmNkLTQ3YjAtODZmNy1iYjEzMWM5MjYxODYiLCJwYXNzd29yZFJldmlzaW9uIjoxNjEyMzEwNjQ2LCJpYXQiOjE2NTIyMjE1MDgsImV4cCI6MTY1MjIyNTEwOH0.bWzGkzRyb51_PGuZsa7oexvP9f-8ORtdNfqNcnky8BM',
'User-Agent': 'axios/0.21.4',
'Content-Length': 2
},
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
withCredentials: true,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
httpsAgent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: {},
freeSockets: [Object],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
jar: CookieJar {
rejectPublicSuffixes: true,
enableLooseMode: false,
allowSpecialUseDomain: false,
store: { idx: {
'192.168.1.8': {
'/': {
TOKEN: Cookie="TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIwNWE5YWJiMi1hYmE1LTQ1YjMtYTc2MS0wOWJlYjQ2YWU2NDEiLCJjc3JmVG9rZW4iOiIwYjdhZDU2ZS1hYmU5LTQ3N2MtYjRjNS0wNDllZTU4MzQ4ZTUiLCJqdGkiOiIwZmFkN2E5Ni1hYmNkLTQ3YjAtODZmNy1iYjEzMWM5MjYxODYiLCJwYXNzd29yZFJldmlzaW9uIjoxNjEyMzEwNjQ2LCJpYXQiOjE2NTIyMjE1MDgsImV4cCI6MTY1MjIyNTEwOH0.bWzGkzRyb51_PGuZsa7oexvP9f-8ORtdNfqNcnky8BM; Path=/; Secure; HttpOnly; hostOnly=true; aAge=10ms; cAge=22ms"
}
}
} },
prefixSecurity: 'silent',
_cloneSync: [Function (anonymous)],
_importCookiesSync: [Function (anonymous)],
getCookiesSync: [Function (anonymous)],
getCookieStringSync: [Function (anonymous)],
getSetCookieStringsSync: [Function (anonymous)],
removeAllCookiesSync: [Function (anonymous)],
setCookieSync: [Function (anonymous)],
serializeSync: [Function (anonymous)]
},
maxRedirects: 0,
validateStatus: [Function: validateStatus]
},
request: ClientRequest {
_events: [Object: null prototype] {
error: [Function: handleRequestError],
prefinish: [Function: requestOnPrefinish]
},
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 2,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: false,
alpnProtocol: false,
authorized: false,
authorizationError: 'DEPTH_ZERO_SELF_SIGNED_CERT',
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: null,
_readableState: [ReadableState],
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: false,
parser: null,
_httpMessage: null,
timeout: 0,
[Symbol(res)]: [TLSWrap],
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: -1,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(kSetNoDelay)]: false,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object],
[Symbol(RequestTimeout)]: undefined
},
_header: 'POST /proxy/network/dl/firmware/bundles.json HTTP/1.1
' +
'Accept: application/json, text/plain, */*
' +
'X-CSRF-Token: 51fe0b28-9306-4bdf-9b45-151134d8c7df
' +
'Content-Type: application/json
' +
'Cookie: TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIwNWE5YWJiMi1hYmE1LTQ1YjMtYTc2MS0wOWJlYjQ2YWU2NDEiLCJjc3JmVG9rZW4iOiIwYjdhZDU2ZS1hYmU5LTQ3N2MtYjRjNS0wNDllZTU4MzQ4ZTUiLCJqdGkiOiIwZmFkN2E5Ni1hYmNkLTQ3YjAtODZmNy1iYjEzMWM5MjYxODYiLCJwYXNzd29yZFJldmlzaW9uIjoxNjEyMzEwNjQ2LCJpYXQiOjE2NTIyMjE1MDgsImV4cCI6MTY1MjIyNTEwOH0.bWzGkzRyb51_PGuZsa7oexvP9f-8ORtdNfqNcnky8BM
' +
'User-Agent: axios/0.21.4
' +
'Content-Length: 2
' +
'Host: 192.168.1.8
' +
'Connection: keep-alive
' +
'
',
_keepAliveTimeout: 0,
_onPendingData: [Function: noopPendingOutput],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object],
requests: {},
sockets: {},
freeSockets: [Object],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/proxy/network/dl/firmware/bundles.json',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
socket: null,
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
headers: [Object],
rawHeaders: [Array],
trailers: {},
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 403,
statusMessage: 'Forbidden',
client: [TLSSocket],
_consuming: false,
_dumped: false,
req: [Circular *1],
[Symbol(kCapture)]: false,
[Symbol(RequestTimeout)]: undefined
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: '192.168.1.8',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'x-csrf-token': [Array],
'content-type': [Array],
cookie: [Array],
'user-agent': [Array],
'content-length': [Array],
host: [Array]
}
},
response: {
status: 403,
statusText: 'Forbidden',
headers: {
vary: 'Origin',
'x-dns-prefetch-control': 'off',
'x-frame-options': 'SAMEORIGIN',
'strict-transport-security': 'max-age=15552000; includeSubDomains',
'x-download-options': 'noopen',
'x-content-type-options': 'nosniff',
'x-xss-protection': '1; mode=block',
'accept-ranges': 'bytes',
'content-type': 'application/json; charset=utf-8',
'x-response-time': '2ms',
'content-length': '32',
date: 'Tue, 10 May 2022 22:25:09 GMT',
connection: 'keep-alive'
},
config: {
url: 'https://192.168.1.8/proxy/network/dl/firmware/bundles.json',
method: 'post',
data: '{}',
headers: [Object],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
withCredentials: true,
adapter: [Function: httpAdapter],
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
httpsAgent: [Agent],
transitional: [Object],
jar: [CookieJar],
maxRedirects: 0,
validateStatus: [Function: validateStatus]
},
request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: false,
chunkedEncoding: false,
shouldKeepAlive: true,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: 2,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
socket: [TLSSocket],
_header: 'POST /proxy/network/dl/firmware/bundles.json HTTP/1.1
' +
'Accept: application/json, text/plain, */*
' +
'X-CSRF-Token: 51fe0b28-9306-4bdf-9b45-151134d8c7df
' +
'Content-Type: application/json
' +
'Cookie: TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIwNWE5YWJiMi1hYmE1LTQ1YjMtYTc2MS0wOWJlYjQ2YWU2NDEiLCJjc3JmVG9rZW4iOiIwYjdhZDU2ZS1hYmU5LTQ3N2MtYjRjNS0wNDllZTU4MzQ4ZTUiLCJqdGkiOiIwZmFkN2E5Ni1hYmNkLTQ3YjAtODZmNy1iYjEzMWM5MjYxODYiLCJwYXNzd29yZFJldmlzaW9uIjoxNjEyMzEwNjQ2LCJpYXQiOjE2NTIyMjE1MDgsImV4cCI6MTY1MjIyNTEwOH0.bWzGkzRyb51_PGuZsa7oexvP9f-8ORtdNfqNcnky8BM
' +
'User-Agent: axios/0.21.4
' +
'Content-Length: 2
' +
'Host: 192.168.1.8
' +
'Connection: keep-alive
' +
'
',
_keepAliveTimeout: 0,
_onPendingData: [Function: noopPendingOutput],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/proxy/network/dl/firmware/bundles.json',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: '192.168.1.8',
protocol: 'https:',
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
data: { message: 'Invalid CSRF Token' }
},
isAxiosError: true,
toJSON: [Function: toJSON]
}
[11-05-2022 00:25:09]INFO : Exit