Replies: 2 comments 4 replies
-
on the homepage all i see is API Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data |
Beta Was this translation helpful? Give feedback.
0 replies
-
You should just use the top level URL, e/g/ |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I have 2 qnaps and I am running homepage on my pc using docker desktop.
I would like ot add the qnap widget to monitor both of the qnaps. I have been though discord, reddit and github but cannot find anything directly to my issue.
homepage version
v0.10.6
Installation method
Docker
Configuration
Container Logs
[2024-12-31T15:52:05.143Z] error: QNAP API rejected the request, attempting to obtain new session token
<style type="text/css"> body{ font-family:Verdana, Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; background: #FFFFFF url('/cgi-bin/images/error/err_bg.jpg'); overflow: hidden; color: #A4A3A3; text-align: center; } .qnap_hyperlink a,.qnap_hyperlink a:link,.qnap_hyperlink a:visited{ font-family:Verdana, Lucida Grande, Tahoma, Arial, Helvetica, sans-serif; font-size: 11px; color: #A4A3A3; }[2024-12-31T15:52:09.941Z] error: Unable to login to QNAP API: <ref *1> Error: Unexpected close tag
Line: 246
Column: 84
Char: >
at error (/app/node_modules/.pnpm/[email protected]/node_modules/sax/lib/sax.js:658:10)
at strictFail (/app/node_modules/.pnpm/[email protected]/node_modules/sax/lib/sax.js:684:7)
at closeTag (/app/node_modules/.pnpm/[email protected]/node_modules/sax/lib/sax.js:878:9)
at SAXParser.write (/app/node_modules/.pnpm/[email protected]/node_modules/sax/lib/sax.js:1460:13)
at module.exports (/app/node_modules/.pnpm/[email protected]/node_modules/xml-js/lib/xml2js.js:346:12)
at module.exports (/app/node_modules/.pnpm/[email protected]/node_modules/xml-js/lib/xml2json.js:13:8)
at login (/app/.next/server/pages/api/services/proxy.js:7726:73)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async apiCall (/app/.next/server/pages/api/services/proxy.js:7751:11)
at async qnapProxyHandler (/app/.next/server/pages/api/services/proxy.js:7831:7) {
note: [Circular *1]
}
[2024-12-31T15:52:15.658Z] error: Error getting data from QNAP: https://192.168.0.110/cgi-bin/cgi-bin/management/chartReq.cgi?chart_func=disk_usage&disk_select=all&include=all&sid=[object%20Object] status 404. Data:
Browser Logs
No response
Troubleshooting
I have tried adding my user and group id to the compose and widget section in services.yml
using the ip address, server name, changing ports, https and http.
Beta Was this translation helpful? Give feedback.
All reactions