I have some issues with uploading to my NAS over FTP.
In my flow I activate an export of the last 24 hours every night at 03:00 and not all the day are going well and the following results is in the log of the app.
2020-02-28 03:00:13 [log] [App] Finshed all exports
2020-02-28 03:00:03 [err] [App] { Error: This socket has been ended by the other party (control socket) at Socket.writeAfterFIN [as write] (net.js:376:12) at FTPContext.send (/node_modules/basic-ftp/dist/FtpContext.js:170:22) at Promise (/node_modules/basic-ftp/dist/FtpContext.js:232:22) at new Promise () at FTPContext.handle (/node_modules/basic-ftp/dist/FtpContext.js:202:16) at Client.send (/node_modules/basic-ftp/dist/Client.js:100:25) at Client.cd (/node_modules/basic-ftp/dist/Client.js:226:21) at at process._tickCallback (internal/process/next_tick.js:189:7) code: âEPIPEâ }
2020-02-28 03:00:03 [err] [App] error: { Error: This socket has been ended by the other party (control socket) at Socket.writeAfterFIN [as write] (net.js:376:12) at FTPContext.send (/node_modules/basic-ftp/dist/FtpContext.js:170:22) at Promise (/node_modules/basic-ftp/dist/FtpContext.js:232:22) at new Promise () at FTPContext.handle (/node_modules/basic-ftp/dist/FtpContext.js:202:16) at Client.send (/node_modules/basic-ftp/dist/Client.js:100:25) at Client.cd (/node_modules/basic-ftp/dist/Client.js:226:21) at at process._tickCallback (internal/process/next_tick.js:189:7) code: âEPIPEâ }
2020-02-28 03:00:03 [log] [App] 18 files zipped, 68930 total bytes
2020-02-28 03:00:01 [log] [App] getting logs related to com.homewizard
The results so far:
28 failed
27 okay
26 failed
25 okay
24 failed
23 okay
New app version will soon be released in the appstore.
v2.5.1: Packages update. athom-api@2.1.220. webdav@2.10.2. basic-ftp@4.5.3 FTP fixes. Added Export and Cancel Export via app setting
Some bugfixes for (Secure) FTP were implemented. Also it is now possible to start a Insights backup straight from the app settings tab.
OopsâŚ
Again FTP isnât working anymore.
After 3 successful nights with a backup each night, now already 2 nights missed.
Itâs time for me to go find another solution to export the data frequently. This app isnât working good enough.
FTP server is working good as also the network is.
Logging from the app:
2020-03-13 03:00:13 [log] [App] Finshed all exports
2020-03-13 03:00:03 [err] [App] { Error: This socket has been ended by the other party (control socket) at Socket.writeAfterFIN [as write] (net.js:376:12) at FTPContext.send (/node_modules/basic-ftp/dist/FtpContext.js:170:22) at Promise (/node_modules/basic-ftp/dist/FtpContext.js:230:22) at new Promise () at FTPContext.handle (/node_modules/basic-ftp/dist/FtpContext.js:200:16) at FTPContext.request (/node_modules/basic-ftp/dist/FtpContext.js:177:21) at Client.send (/node_modules/basic-ftp/dist/Client.js:103:25) at Client.cd (/node_modules/basic-ftp/dist/Client.js:234:21) at at process._tickCallback (internal/process/next_tick.js:189:7) code: âEPIPEâ }
2020-03-13 03:00:03 [err] [App] error: { Error: This socket has been ended by the other party (control socket) at Socket.writeAfterFIN [as write] (net.js:376:12) at FTPContext.send (/node_modules/basic-ftp/dist/FtpContext.js:170:22) at Promise (/node_modules/basic-ftp/dist/FtpContext.js:230:22) at new Promise () at FTPContext.handle (/node_modules/basic-ftp/dist/FtpContext.js:200:16) at FTPContext.request (/node_modules/basic-ftp/dist/FtpContext.js:177:21) at Client.send (/node_modules/basic-ftp/dist/Client.js:103:25) at Client.cd (/node_modules/basic-ftp/dist/Client.js:234:21) at at process._tickCallback (internal/process/next_tick.js:189:7) code: âEPIPEâ }
2020-03-13 03:00:03 [log] [App] 18 files zipped, 70982 total bytes
2020-03-13 03:00:01 [log] [App] getting logs related to com.homewizard
means your FTP service stopped the upload. Could also be related to bad network connection. Why donât you try another FTP service, or a SMB (network drive) or WebDAV?
The FTP server is my local NAS and because of the of Mac at home I donât need SMB or WebDAV.
Normally I donât have issues with local FTP and my logs on the NAS are not logging these issues. So maybe itâs Homey related.
I wil have a look into SMB later.
Thank you.
Unzipped files are easier to handle. I have something similar running on my NAS, I use a PHP script to read the text files, push the data into a SQL database and delete the file immediately. On that same NAS I run a webserver to show all the data in trends.
Iâm trying to configure my Archive Insights, but canât⌠I tried NAS, WebDAV and FTP which work good with a browser.
Here what results from NAS:
2020-04-13 21:05:59 [log] [App] connect ETIMEDOUT 192.168.1.10:445
2020-04-13 21:04:32 [log] [App] testing SMB settings from frontend
And here from FTP:
2020-04-13 18:53:39 [log] [App] Error: Timeout (control socket) at Socket.socket.once (/node_modules/basic-ftp/dist/FtpContext.js:310:58) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:106:13) at Socket.emit (events.js:208:7) at Socket._onTimeout (net.js:422:8) at ontimeout (timers.js:498:11) at tryOnTimeout (timers.js:323:5) at Timer.listOnTimeout (timers.js:290:5)
2020-04-13 18:53:09 [log] [App] testing FTP settings from frontend
Please, can you help me with any clues?
Thank youâŚ
I am trying to export to a network drive on my NAS (DS218+). Connection set-up seems to work as i do see the ĂŹnsights2.csv`file appear but when I explicitly export from the app menu, the logging seems to say that the files were zipped and exported but I dont see them appear on the drive.