My first day with Publii today, using v.0.37.3 (build 13870) beta.
Trying to upload/sync via SFTP to a system in my local LAN (via IP address). ‘Test connection’ with credentials (either password or key file) works. But during ‘Sync your website’ the progress bar simply stops maybe 5 – 10% into the phase ‘Uploading website’.
Tried both with an empty destination directory (freshly created) as well as after a successful manual upload of an initial set of files (using ‘Mountain Duck’/SFTP with the same set of credentials).
deployment-errors.log is empty, deployment-process.log shows this:
[Fri, 19 Feb 2021 16:55:18 GMT] <- files.publii.json
[Fri, 19 Feb 2021 16:55:18 GMT] ERR (2): SyntaxError: Unexpected token in JSON at position 4096 (SyntaxError: Unexpected token in JSON at position 4096
at JSON.parse (<anonymous>)
at Deployment.compareFilesList (C:\Users\marcus\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\deploy\deployment.js:193:31)
at C:\Users\marcus\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\deploy\sftp.js:140:33
at processTicksAndRejections (internal/process/task_queues.js:93:5)) [<- files.publii.json]
[Fri, 19 Feb 2021 16:55:18 GMT] ERR (3): SyntaxError: Unexpected token in JSON at position 4096 (SyntaxError: Unexpected token in JSON at position 4096
at JSON.parse (<anonymous>)
at Deployment.compareFilesList (C:\Users\marcus\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\deploy\deployment.js:193:31)
at C:\Users\marcus\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\deploy\sftp.js:148:33
at processTicksAndRejections (internal/process/task_queues.js:93:5)) [<- files.publii.json]