0.37.1 – Website sync fails
-
September 30, 2020 at 8:19 pm #3912[anonymous]
Publii 0.37.1 -> Sync your website -> Uploading Website (231 of 359 operations done) -> nothing happens any more
This problem occurred first, after I changed the sever settings because of an new domain (it is is the same provider as before).
Cancel -> “A JavaScript error orrured in the main process”
October 9, 2020 at 8:43 pm #4032[anonymous]Please check your Tools -> Log viewer -> there should be a few connection logs which can contain more details about the problem/
October 10, 2020 at 8:46 pm #4039[anonymous]“connection-files-log-to-delete” is empty
“connection-files-log-to-uplaod” nothing noticeable:
“[{“path”:”/media/website/skipper_in_kajuete.jpg”,”type”:”file”},{“path”:”/media/website/responsive/skipper_in_kajuete-xxxl.jpg”,”type”:”file”}, […] ,{“path”:”tag”,”type”:”directory”},{“path”:”di”,”type”:”directory”}]”
no more connection files
October 12, 2020 at 11:58 pm #4056[anonymous]October 13, 2020 at 10:21 am #4073[anonymous]@jpb @rkr – please check deployment-errors and deployment-process log files under Tools -> Log viewer – maybe they will contain some more details about your problems.
October 14, 2020 at 10:13 am #4135[anonymous]rendering-errors.log
TypeError: Cannot read property ‘id’ of undefined
at render (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\node_modules\publii-block-editor\src\components\default-blocks\publii-header\render.js:2:38)
at Function.parse (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\text-renderers\blockeditor.js:17:36)
at Function.parseText (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\helpers\content.js:140:33)
at Function.prepareContent (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\helpers\content.js:42:38)
at PostItem.prepareData (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\items\post.js:38:42)
at new PostItem (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\items\post.js:19:14)
at C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer-cache.js:328:27
at Array.map (<anonymous>)
at RendererCache.getPosts (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer-cache.js:326:23)
at RendererCache.create (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer-cache.js:38:14)
TypeError: Cannot read property ‘id’ of undefined
at render (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\node_modules\publii-block-editor\src\components\default-blocks\publii-header\render.js:2:38)
at Function.parse (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\text-renderers\blockeditor.js:17:36)
at Function.parseText (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\helpers\content.js:140:33)
at Function.prepareContent (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\helpers\content.js:42:38)
at PostItem.prepareData (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\items\post.js:38:42)
at new PostItem (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\items\post.js:19:14)
at C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer-cache.js:328:27
at Array.map (<anonymous>)
at RendererCache.getPosts (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer-cache.js:326:23)
at RendererCache.create (C:\Users\braun\AppData\Local\Programs\Publii\resources\app.asar\back-end\modules\render-html\renderer-cache.js:38:14)October 15, 2020 at 9:27 pm #4155[anonymous]@jpb – it looks like you have a problem during rendering of the posts, but then you shouldn’t get sync in progress. Maybe it is an old error.
Do you have any records under deployment-* log files?
October 16, 2020 at 2:06 pm #4165[anonymous]deployment-errors.log is empty
deployment-process.log is quite long. I will start at line 3680
[parser] < ‘226 Transfer complete\r\n’
[parser] Response: code=226, buffer=’Transfer complete’
UPL C:/Users/braun/OneDrive/Publii/sailing-and-cycling/output/media/posts/7/responsive/sea-3572237_1920-xl.jpg -> /media/posts/7/responsive/sea-3572237_1920-xl.jpg
[connection] > ‘PASV’
[connection] < ‘227 Entering Passive Mode (85,13,161,90,195,150).\r\n’
[parser] < ‘227 Entering Passive Mode (85,13,161,90,195,150).\r\n’
[parser] Response: code=227, buffer=’Entering Passive Mode (85,13,161,90,195,150).’
[connection] PASV socket connected
[connection] > ‘STOR /media/posts/7/responsive/sea-3572237_1920-xs.jpg’
[connection] < ‘150 Opening BINARY mode data connection for /media/posts/7/responsive/sea-3572237_1920-xs.jpg\r\n’
[parser] < ‘150 Opening BINARY mode data connection for /media/posts/7/responsive/sea-3572237_1920-xs.jpg\r\n’
[parser] Response: code=150, buffer=’Opening BINARY mode data connection for /media/posts/7/responsive/sea-3572237_1920-xs.jpg’
[connection] < ‘226 Transfer complete\r\n’
[parser] < ‘226 Transfer complete\r\n’
[parser] Response: code=226, buffer=’Transfer complete’
UPL C:/Users/braun/OneDrive/Publii/sailing-and-cycling/output/media/posts/7/responsive/sea-3572237_1920-xs.jpg -> /media/posts/7/responsive/sea-3572237_1920-xs.jpg
[connection] > ‘PASV’
– – – FTP ERROR – – –
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:201:27) {
errno: ‘ECONNRESET’,
code: ‘ECONNRESET’,
syscall: ‘read’
}
– – – – – – – – – – –
– – – FTP CONNECTION CLOSED – – –
false
– – – – – – – – – – – – – – – – –October 19, 2020 at 5:59 pm #4207[anonymous]Still the same problem with Publii 0.37.2.
This problem occurred first, after I changed the sever settings because of an new domain (it is is the same provider as before).
October 19, 2020 at 7:13 pm #4211[anonymous]@jpb – the sync stops always on the same moment? Or in random moments of sync?
October 19, 2020 at 7:32 pm #4212[anonymous]It stops always at the same moment.
“231 of 359 operations done”
Every time!
October 19, 2020 at 7:35 pm #4213[anonymous]Could you send me a link to a backup of your website in a private reply? I will check if the same problem occurs on my machine
October 21, 2020 at 7:24 pm #4229[anonymous]@jpb – it must be something wrong with your hosting or with your internet connection. I was able to upload your website to my hosting without any issues. If you want – you can provide me a temporary password in a private reply and then I will try to sync your website from my computer to check if it is an issue with your hosting or your internet connection.
October 21, 2020 at 10:47 pm #4236[anonymous]@jpb – as you can see on your website – I was able to sync it without any problems. It must be something wrong with your internet connection or your router security settings – maybe you have to strict firewall settings set?
October 21, 2020 at 11:58 pm #4237[anonymous]I believe your problem is with Microsoft OneDrive. I had the same issue myself and then I switched to hosting and saving the websites on my actual PC and the sync air went away. I realize and understand the benefit of using one try but for me and messed it up so now I sync my website like normal and the just copied over to OneDrive for backup purposes. I suggest to try that and see if that works.
October 22, 2020 at 9:02 am #4241[anonymous]Thank you @Tomasz. The problem seems to be OneDrive, as @scotdill mentioned.
- Copying the files from OneDrive to the local computer fails.
- Creating a backup in Publii fails (“Creating backup …” never stops)
- Changing “Sites location” to local in Publii fails (“An error accured during Saving the Apps Settings. Please try again”)
… ???
October 22, 2020 at 11:19 am #4244[anonymous]Its hard but keep trying.
What I did was copy the site within publii, then take that copy from one drive and copy to pc.
Then change the dir of publii site.. if that doesn’t work uninstall and reinstall with default settings then you should be good
October 22, 2020 at 12:08 pm #4245[anonymous]I already tried copying the site within Publii. It also failed. It’s quite frustrating. I will unistall Publii an reinstall it again. Let’s see …
October 22, 2020 at 12:25 pm #4246[anonymous]The reinstalling ends with an error message. I am a little bit confused.
October 22, 2020 at 12:33 pm #4248[anonymous]Uninstall.
Search your computer for publii and delete everything on the computer ( DO not delete the publii sites folder on one drive… )
Then try again.
You may have to run regedit and remove from there too
October 22, 2020 at 12:38 pm #4249[anonymous]Thank you. This was my mistake.
I was able to Download a zip Version of the folder from Microsoft OneDrive.
Now everything works again!
Maybe there should be a Warning: “Don’t use OneDrive!”.
Thanks for your help!
October 22, 2020 at 12:39 pm #4250[anonymous](Disabling e-mail notification. Sorry, need to post a message to do this.)
October 22, 2020 at 7:11 pm #4257[anonymous]Problem solved