Website not syncing completely
-
May 20, 2022 at 1:23 am #7479[anonymous]
Hello Publii developers!
I have the following problem: my website doesn’t seem to sync completely. With this I mean that I miss the menu at the right side of my website and the color of the code blocks are wrong (purple instead of white).
Sample page: https://jeroenverhoeckx.com/run-laravel-with-podman-on-fedora-silverblue.html
When I now sync the website, the syncing is very quick (much quicker than normal, it seems to miss/skip steps) and nothing changes.
When I preview my website locally, the menu at the right side is generated and the colors of the code blocks are fine.Version of Publii: 0.39.1 (build 15483)
Distribution: Fedora Silverblue 35Deployment errors: The log file is empty…
Deployment process:
[Fri, 20 May 2022 00:14:49 GMT] [connection] < '220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------\r\n' + '220-You are user number 1 of 50 allowed.\r\n' + '220-Local time is now 01:14. Server port: 21.\r\n' + '220-This is a private system - No anonymous login\r\n' + '220-IPv6 connections are also welcome on this server.\r\n' + '220 You will be disconnected after 15 minutes of inactivity.\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------\r\n' + '220-You are user number 1 of 50 allowed.\r\n' + '220-Local time is now 01:14. Server port: 21.\r\n' + '220-This is a private system - No anonymous login\r\n' + '220-IPv6 connections are also welcome on this server.\r\n' + '220 You will be disconnected after 15 minutes of inactivity.\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=220, buffer='--------- Welcome to Pure-FTPd [privsep] [TLS] ----------\r\n' + 'You are user number 1 of 50 allowed.\r\n' + 'Local time is now 01:14. Server port: 21.\r\n' + 'This is a private system - No anonymous login\r\n' + 'IPv6 connections are also welcome on this server.\r\n' + 'You will be disconnected after 15 minutes of inactivity.' [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'USER jeroenv' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '331 User jeroenv OK. Password required\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '331 User jeroenv OK. Password required\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=331, buffer='User jeroenv OK. Password required' [Fri, 20 May 2022 00:14:49 GMT] [connection] > PASS ****************************** [Fri, 20 May 2022 00:14:49 GMT] [connection] < '230-This server supports FXP transfers\r\n' + '230 OK. Current restricted directory is /\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '230-This server supports FXP transfers\r\n' + '230 OK. Current restricted directory is /\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=230, buffer='This server supports FXP transfers\r\nOK. Current restricted directory is /' [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'FEAT' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '211-Extensions supported:\r\n' + ' UTF8\r\n' + ' EPRT\r\n' + ' IDLE\r\n' + ' MDTM\r\n' + ' SIZE\r\n' + ' MFMT\r\n' + ' REST STREAM\r\n' + ' MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;\r\n' + ' MLSD\r\n' + ' PRET\r\n' + ' AUTH TLS\r\n' + ' PBSZ\r\n' + ' PROT\r\n' + ' TVFS\r\n' + ' ESTA\r\n' + ' PASV\r\n' + ' EPSV\r\n' + ' SPSV\r\n' + ' ESTP\r\n' + '211 End.\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '211-Extensions supported:\r\n' + ' UTF8\r\n' + ' EPRT\r\n' + ' IDLE\r\n' + ' MDTM\r\n' + ' SIZE\r\n' + ' MFMT\r\n' + ' REST STREAM\r\n' + ' MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;\r\n' + ' MLSD\r\n' + ' PRET\r\n' + ' AUTH TLS\r\n' + ' PBSZ\r\n' + ' PROT\r\n' + ' TVFS\r\n' + ' ESTA\r\n' + ' PASV\r\n' + ' EPSV\r\n' + ' SPSV\r\n' + ' ESTP\r\n' + '211 End.\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=211, buffer='Extensions supported:\r\n' + ' UTF8\r\n' + ' EPRT\r\n' + ' IDLE\r\n' + ' MDTM\r\n' + ' SIZE\r\n' + ' MFMT\r\n' + ' REST STREAM\r\n' + ' MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;\r\n' + ' MLSD\r\n' + ' PRET\r\n' + ' AUTH TLS\r\n' + ' PBSZ\r\n' + ' PROT\r\n' + ' TVFS\r\n' + ' ESTA\r\n' + ' PASV\r\n' + ' EPSV\r\n' + ' SPSV\r\n' + ' ESTP\r\n' + 'End.' [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'TYPE I' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '200 TYPE is now 8-bit binary\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '200 TYPE is now 8-bit binary\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=200, buffer='TYPE is now 8-bit binary' [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'PASV' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '227 Entering Passive Mode (5,61,248,107,138,42)\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '227 Entering Passive Mode (5,61,248,107,138,42)\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=227, buffer='Entering Passive Mode (5,61,248,107,138,42)' [Fri, 20 May 2022 00:14:49 GMT] [connection] PASV socket connected [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'RETR /domains/jeroenverhoeckx.com/public_html/files.publii.json' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '150-Accepted data connection\r\n150 93.1 kbytes to download\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '150-Accepted data connection\r\n150 93.1 kbytes to download\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=150, buffer='Accepted data connection\r\n93.1 kbytes to download' [Fri, 20 May 2022 00:14:49 GMT] <- files.publii.json [Fri, 20 May 2022 00:14:49 GMT] [connection] < '226-File successfully transferred\r\n' + '226 0.054 seconds (measured here), 1.69 Mbytes per second\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '226-File successfully transferred\r\n' + '226 0.054 seconds (measured here), 1.69 Mbytes per second\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=226, buffer='File successfully transferred\r\n' + '0.054 seconds (measured here), 1.69 Mbytes per second' [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'MODE S' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '200 S OK\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '200 S OK\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=200, buffer='S OK' Founded 2 operations to do [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'PASV' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '227 Entering Passive Mode (5,61,248,107,137,23)\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '227 Entering Passive Mode (5,61,248,107,137,23)\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=227, buffer='Entering Passive Mode (5,61,248,107,137,23)' [Fri, 20 May 2022 00:14:49 GMT] [connection] PASV socket connected [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'STOR /domains/jeroenverhoeckx.com/public_html/.htaccess' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '150 Accepted data connection\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '150 Accepted data connection\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=150, buffer='Accepted data connection' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '226-File successfully transferred\r\n' + '226 0.017 seconds (measured here), 13.95 Kbytes per second\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '226-File successfully transferred\r\n' + '226 0.017 seconds (measured here), 13.95 Kbytes per second\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=226, buffer='File successfully transferred\r\n' + '0.017 seconds (measured here), 13.95 Kbytes per second' [Fri, 20 May 2022 00:14:49 GMT] UPL /var/home/verhoeckx/Dropbox/websites/jeroen-verhoeckx/output/.htaccess -> /domains/jeroenverhoeckx.com/public_html/.htaccess [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'PASV' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '227 Entering Passive Mode (5,61,248,107,137,201)\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '227 Entering Passive Mode (5,61,248,107,137,201)\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=227, buffer='Entering Passive Mode (5,61,248,107,137,201)' [Fri, 20 May 2022 00:14:49 GMT] [connection] PASV socket connected [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'STOR /domains/jeroenverhoeckx.com/public_html/files.publii.json' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '150 Accepted data connection\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '150 Accepted data connection\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=150, buffer='Accepted data connection' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '226-File successfully transferred\r\n' + '226 0.064 seconds (measured here), 1.42 Mbytes per second\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '226-File successfully transferred\r\n' + '226 0.064 seconds (measured here), 1.42 Mbytes per second\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=226, buffer='File successfully transferred\r\n' + '0.064 seconds (measured here), 1.42 Mbytes per second' [Fri, 20 May 2022 00:14:49 GMT] -> files.publii.json [Fri, 20 May 2022 00:14:49 GMT] [connection] > 'QUIT' [Fri, 20 May 2022 00:14:49 GMT] [connection] < '221-Goodbye. You uploaded 94 and downloaded 94 kbytes.\r\n221 Logout.\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] < '221-Goodbye. You uploaded 94 and downloaded 94 kbytes.\r\n221 Logout.\r\n' [Fri, 20 May 2022 00:14:49 GMT] [parser] Response: code=221, buffer='Goodbye. You uploaded 94 and downloaded 94 kbytes.\r\nLogout.' [Fri, 20 May 2022 00:14:49 GMT] FTP CONNECTION CLOSED: false
Does somebody know how I can restore the syncing or restore my website?
> Verhoeckx
May 20, 2022 at 1:37 am #7480[anonymous]When I change the server settings for FTP to SFTP and sync the website again, I get the message “Error! Application was able to connect with your server but was unable to store files. Please check file permissions on your server.
I haven’t changed the file permissions so the should be fine. Maybe the server doesn’t accept storing files at the moment (it’s past midnight and maybe the server is in maintenance mode or something? I will try to sync tomorrow.
May 20, 2022 at 10:01 am #7481[anonymous]Hi,
During sync you sent only .htaccess and publii-files.json, but I think that your issue is connected with JS errors in the theme regarding ToC, what also can prevent syntax highlight from works – I do not know if the script is from the theme or you custom one, but as it is paid theme I recommend to contact with premium support first.
May 20, 2022 at 11:29 am #7482[anonymous]I think indeed that it could be related to the JavaScript code of the Table of Content generator. Having said that: it’s worked well for the last two years. The theme that I’m using is called Prodocs and is from Publii itself. I will create a new bug report on the back-end of this website. Thanks for your help Tomasz!
May 20, 2022 at 11:15 pm #7483[anonymous]Your issue is connected with non-synced properly files for 100%. It is strange because Publii should sync more than 2 files. The only solution which I can recommend – please try to remove file files.publii.json from your server and the sync website again (it will upload all files of your website).
May 21, 2022 at 6:53 pm #7484[anonymous]Yes, thank you, that did the trick! Now the website looks good again (the menu at the right side is visible and the colors of the code blocks are fine)!
I do not exactly understand your explanation about what went wrong. Can you elaborate please?
May 26, 2022 at 8:17 am #7510[anonymous]To be honest – I have no idea why you had this issue (maybe some strange upload issues), but reupload of the whole website is always good solution for such cases 🙂