This question about Upgrading from TWiki to Foswiki: Asked
Save topic gives 504 Gateway Time-out
Hello
I am testing Foswiki with several webs from a TWiki instance. Some of the webs have over 1000 topics.
I am using a Docker image with external storage
I have 2 issues :
- For some of the webs I can create edit and then save topics and I get the expected results. For some other topics clicking
save
will just hang the edit session until the 504 Gateway Time-out
message appears but despite this error the topic is in fact saved immediately. For a test I created a new web and made 10K files and I was able to edit and save ok - so I dont think the issue is linked to the number of topics. The log files dont show much information so I dont know why the save gets hung and then timesout. This also happens when creating a new empt topic in the problem webs. What could the problem be ?
- In all of the webs, this includes imported webs and new webs created inside Fowiki, the WebChanges topic fails. All I see is a large message
Loading...
. The list of changes never appears.
Thanks for any feedback
--
LlewelynJones - 09 May 2020
What docker container are you using?
--
TimothyLegge - 11 May 2020
Thanks for the reply.
It is my own docker image based on centos 7.
I made some progress and was able to save a topic without the 504 Gateway error.
I copied the data directory into a temporaray directory and deleted all except the Web* from my working (problem) data directory. I then started copying and testing from the temp directory files A*, B* etc to see when the save failed, trying to see if there was a problem file causing this issue. I was able to copy up to Z* files and was still able to edit, save and view without problems.
So I can only guess that I had a rougue file somewhere but I dont fully understand how it could screw up the save.
I guess I need to santize in some way the data files that I am copying over from TWiki?
I still have the blank
WebChanges screen though, even on new empty webs.
--
LlewelynJones - 11 May 2020
Did you mount your volumes as :z
--
TimothyLegge - 11 May 2020
BTW, the Web Changes page is generated based on a scheduled job usually.
Also, how is the availability of perl module packages for Centos? I have timlegge/docker-foswiki based on alpine-linux that has 100% of the required modules available as native packages. Makes life easier
--
TimothyLegge - 11 May 2020
The default centos does not come with all the necessary perl modules and I need loads of plugins to match the TWIki installation. So the Dockerfile is full of installs of perl modules of which there are 100s.
--
LlewelynJones - 11 May 2020