*** SOLVED *** Publishing problem

Issues related to previewing and publishing your web site.
Post Reply
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

*** SOLVED *** Publishing problem

Post by lennart@paulson.nu »

Hi
When i publish my website to my server only files no folders updates. I have chosed uppdate all files. If i publish to a local file and then use Win SCP and update, all files and folders downloads.
I have WYSIWYG 17. I run an earlyer version on another PC and there Publishing works OK. I run them to same server.

I hope you will understand my bad english
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Maybe you will need to clear your browser cache?
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hi
I have access to the server and i cant se any folders just files in /home/public_html directory. It says succes after publishing but no folders will be publish.
Lennart
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Are you sure the files are publish to the correct location?

Note that this can only be a configuration issue, so please make sure all your settings are correct.

If you need further assistance thew please provide more information.
The software has thousands of options and millions of possible combinations, so you will need to be more specific about what you have done.
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hi
Yes i understand it´s hard to say.
I have a web in WB it has a main side and and 14 folders. When i start publish to my servers /home/public_html it create 5-6 html and 14 folders. If i use explore i can se all of them.
Then i start publish and i can se activitis going on. if i publish to an empte directory and look in to it after wb says publish succesfull, i only se those files (html) no folders.
But if i publish to a local file on PC both files and folders are there. I can then use an ftp (WIN SCP) and send all files and folders to the server and /home/public_html and i se all of them on that directory and the website works.
As i se it there is a difference betwen the WB ftp and WIN SCP when transfering files and folders. I have an earlyer WB in another PC (WB12) and i never had any problem with publishing. It´s a little strange that publish says `Succes` when not all folders are sent. I´m sure the problems is something i have done but i can´t se what it is. It´s allso difficult to explain when English not is your native language.

Lennart
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

What is the information in the publish log?
It´s a little strange that publish says `Succes` when not all folders are sent.
The server may report that is was successful even if it refuses to accept the files.
I can only help you with this when I know the settings and publish details.

If it worked in version 12, then make sure that you are the exact same settings.
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

OK i will check that, this is the log.

28/10/2022 11:10:32.850 *** START OF PUBLISH ***

28/10/2022 11:10:32.850 Scanning publish folder...

28/10/2022 11:10:32.881 Found 572 file(s).

28/10/2022 11:11:05.911 Removing temporary files...

28/10/2022 11:11:05.911 Successfully published!

28/10/2022 11:11:05.911 *** END OF PUBLISH ***
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Please set the log level to 'all'
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hello
Where do i do that ?
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

You can do that in the publish profile.
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

This is a part of the logfile

28/10/2022 16:23:56.294 SFTP< Received SSH_FXP_STATUS
28/10/2022 16:23:56.294 Uploading 'wysiwyg-settings.js' from '
C:\Users\lenna\AppData\Local\Temp\~publish\Vinter_sommarplater\batplatser_sjon\wysiwyg\'
to 'home/palle/public_html/dbvf_old/Vinter_sommarplater/batplatser_sjon/wysiwyg/'
28/10/2022 16:23:56.356 Successfully uploaded file.
28/10/2022 16:23:56.356 SFTP> Sending SSH_FXP_OPEN
28/10/2022 16:23:56.356 TRAN> CHANNEL_DATA: channel=100 numBytes=117
28/10/2022 16:23:56.356 TRAN< CHANNEL_DATA: channel=100 payloadSize=26
28/10/2022 16:23:56.356 SFTP< Received SSH_FXP_HANDLE
28/10/2022 16:23:56.356 SFTP> Sending SSH_FXP_WRITE
28/10/2022 16:23:56.372 TRAN> CHANNEL_DATA: channel=100 numBytes=1073
28/10/2022 16:23:56.372 TRAN< CHANNEL_DATA: channel=100 payloadSize=37
28/10/2022 16:23:56.372 SFTP< Received SSH_FXP_STATUS
28/10/2022 16:23:56.372 SFTP> Sending SSH_FXP_CLOSE
28/10/2022 16:23:56.372 TRAN> CHANNEL_DATA: channel=100 numBytes=17
28/10/2022 16:23:56.372 TRAN< CHANNEL_DATA: channel=100 payloadSize=37
28/10/2022 16:23:56.387 SFTP< Received SSH_FXP_STATUS
28/10/2022 16:23:56.387 Uploading 'wysiwyg.css' from '
C:\Users\lenna\AppData\Local\Temp\~publish\Vinter_sommarplater\batplatser_sjon\wysiwyg\'
to 'home/palle/public_html/dbvf_old/Vinter_sommarplater/batplatser_sjon/wysiwyg/'
28/10/2022 16:23:56.434 Successfully uploaded file.

28/10/2022 16:23:56.434 SFTP> Sending SSH_FXP_OPEN

If i look at the logfile in WB 12 with ftp extension i can se that for every file it create a directory at /home/public_htm. i cant se that this hapen in WB17.
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

No thats not right , i can se in the logfile that WB try to create directorys. But that not happen at the server. Strange ! Any idé ?
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Is this the complete log?

Are you sure the folder is correct?
home/palle/public_html/dbvf_old/Vinter_sommarplater/batplatser_sjon/'

Is this the root of the website?
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Yes it´s right And other and folders goes to home/palle/public_html/dbvf_old/ and those files works. I looks that creating of new directorys dont work.
maybe a server problem but from WB 12 it works.
Lennart
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Yes it´s right and other than folders goes to home/palle/public_html/dbvf_old/ ......
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Maybe the FTP user account does not have permissions to create folders?
Maybe you did not use Secure FTP in WB12, so that is why it works different?

Normally, the root of a website is
/public_html/
or
home/palle/public_html/
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hi
Yes but it is /home/palle/public_html. In WB 12 i have to use the sftp extension but in WB 17 it is inbuilt.. Can it be som differens betwen them ? I will ask the servermananger to take a log från the server when i publish my files to se wy it not create subdirectorys.
Lennart
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Can it be som differens betwen them ?
No, it's exactly the same FTP engine.

Are there any errors in the publish log?
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

No i can´t se any errors. I have talked to peole managing server and next week vi vill do a test when i try to publish and se if they can se something in theres log. I talk to you after that. Thanks so far for your support.
Lennart
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hi
We have look into the server when sending from WWB. We can se that SFTP client try to set 0777 as rights. Look at the logfile from server.

Oct 29 11:46:15 serv-ng sftp-server[8359]: close "/home/palle/public_html/dbvf_old/svenska_sj\303\266.html" bytes read 0 written 3464
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home/palle" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:16 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old/testar" mode 0777
Oct 29 11:46:16 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:16 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old/vader" mode 0777
Oct 29 11:46:16 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:16 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old/vader/images" mode 0777
Oct 29 11:46:16 serv-ng sftp-server[8359]: sent status Failure

Lennart
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

What do you see in the web builder publish log?
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

28/10/2022 16:23:56.294 SFTP< Received SSH_FXP_STATUS
28/10/2022 16:23:56.294 Uploading 'wysiwyg-settings.js' from '
C:\Users\lenna\AppData\Local\Temp\~publish\Vinter_sommarplater\batplatser_sjon\wysiwyg\'
to 'home/palle/public_html/dbvf_old/Vinter_sommarplater/batplatser_sjon/wysiwyg/'
28/10/2022 16:23:56.356 Successfully uploaded file.
28/10/2022 16:23:56.356 SFTP> Sending SSH_FXP_OPEN
28/10/2022 16:23:56.356 TRAN> CHANNEL_DATA: channel=100 numBytes=117
28/10/2022 16:23:56.356 TRAN< CHANNEL_DATA: channel=100 payloadSize=26
28/10/2022 16:23:56.356 SFTP< Received SSH_FXP_HANDLE
28/10/2022 16:23:56.356 SFTP> Sending SSH_FXP_WRITE
28/10/2022 16:23:56.372 TRAN> CHANNEL_DATA: channel=100 numBytes=1073
28/10/2022 16:23:56.372 TRAN< CHANNEL_DATA: channel=100 payloadSize=37
28/10/2022 16:23:56.372 SFTP< Received SSH_FXP_STATUS
28/10/2022 16:23:56.372 SFTP> Sending SSH_FXP_CLOSE
28/10/2022 16:23:56.372 TRAN> CHANNEL_DATA: channel=100 numBytes=17
28/10/2022 16:23:56.372 TRAN< CHANNEL_DATA: channel=100 payloadSize=37
28/10/2022 16:23:56.387 SFTP< Received SSH_FXP_STATUS
28/10/2022 16:23:56.387 Uploading 'wysiwyg.css' from '
C:\Users\lenna\AppData\Local\Temp\~publish\Vinter_sommarplater\batplatser_sjon\wysiwyg\'
to 'home/palle/public_html/dbvf_old/Vinter_sommarplater/batplatser_sjon/wysiwyg/'
28/10/2022 16:23:56.434 Successfully uploaded file.

28/10/2022 16:23:56.434 SFTP> Sending SSH_FXP_OPEN
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Why does it try to set 0777 on sending file. I think 0755 will be better ? I think that can be the problem, maybe the server not allowe ftp files with 0777.
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Are you sure this is the full log?
I do not see any folders being created...

The software does not set the permissions for folders and files.

Again, I would like to note that this does not work different than in version 12.
User avatar
Bluesman
 
 
Posts: 1120
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Publishing problem

Post by Bluesman »

lennart@paulson.nu wrote: Sat Oct 29, 2022 10:27 am Hi
We have look into the server when sending from WWB. We can se that SFTP client try to set 0777 as rights. Look at the logfile from server.

Oct 29 11:46:15 serv-ng sftp-server[8359]: close "/home/palle/public_html/dbvf_old/svenska_sj\303\266.html" bytes read 0 written 3464
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home/palle" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:15 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old" mode 0777
Oct 29 11:46:15 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:16 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old/testar" mode 0777
Oct 29 11:46:16 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:16 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old/vader" mode 0777
Oct 29 11:46:16 serv-ng sftp-server[8359]: sent status Failure
Oct 29 11:46:16 serv-ng sftp-server[8359]: mkdir name "home/palle/public_html/dbvf_old/vader/images" mode 0777
Oct 29 11:46:16 serv-ng sftp-server[8359]: sent status Failure

Lennart
Hej Lennart
which webhost do you use?
"Make My Day"

See my Website
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hi
I still run the website (www.dbvf.nu) from my old PC and WB12. I have done many changes on the web and all work greate. But i havn´t recently created any new folders, just update. Today i tryed to create a new page and it´s the same problem it don´t creeate anything new. Something must have changed in the server. i will start check this and come back to you.
lennart@paulson.nu
 
 
Posts: 16
Joined: Fri Oct 28, 2022 9:22 am

Re: Publishing problem

Post by lennart@paulson.nu »

Hi Pablo
Problem solved !
For som reason this is changed
I have always during all years give the hole path in WB SFTP to the directory where my files are for ex.
/home/palle/public_html/dbvf.
Now when i login with the SFTP in WB i allready are in /home/palle/ . So it starts create /home/palle/home/palle/public_html/dbvf.
I dont know when or why this is changed. But now when i know it it´s no problem.
Thank you Pablo for your support.

Lennart
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Publishing problem

Post by Pablo »

Thanks for clearing that up!
desen12
 
 
Posts: 2
Joined: Sun Nov 06, 2022 7:50 pm

Publishing problem

Post by desen12 »

I am having problems publishing website with templates. the templates do not generate a index file.
User avatar
crispy68
 
 
Posts: 2749
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: *** SOLVED *** Publishing problem

Post by crispy68 »

What template are you referring to? You will need to change the name of your homepage to index.
desen12
 
 
Posts: 2
Joined: Sun Nov 06, 2022 7:50 pm

Publishing problem

Post by desen12 »

are you saying all i have to do is change the name from the template that i am using which is the shopper then under it is wb17_shopper.html and just simply change wb17_shoper.html to index?
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: *** SOLVED *** Publishing problem

Post by Pablo »

The reason why there is no index in templates is to make sure users do not accidentally overwrite their main website when try are trying template.
If you do want to use the template as your main website then simply rename the page in the Site Manager.
Post Reply