Jump to content


Photo

Wiki is down


  • Please log in to reply
38 replies to this topic

#16 DarkladyLexy

DarkladyLexy

    Dragon King

  • Pack Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,230 posts

Posted 18 April 2018 - 11:12 AM

My last edit was to add a CSS code for a "BSA Extracted" Tag to one of the mods on my Wiki so it well off been that too.


  • 0

#17 Mator

Mator

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 627 posts

Posted 18 April 2018 - 12:54 PM

I doubt that any HTML/CSS edits caused the issue.  If it is anything it is due to semantic mediawiki templates.  Huge page size or circular dependencies could cause issues with the cache worker, hypothetically.  z - if you have logs, I could look at those to see if I can figure out what the root cause is.


  • 0

#18 z929669

z929669

    Ixian Inventor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,314 posts

Posted 18 April 2018 - 01:09 PM

I found one nginx configuration issue that I resolved, but I am not sure if that had any impact. The wiki seems to be working, but it is the timeouts and worker processes that I need to figure out. php, fpm, fast cgi appear to be the complainers.

 

It all has to do with the size of certain requests, I think. Semantic is the likely root cause, and many requests (just serving up any guide or page with many nesting/recursive Semantic dependencies is the main issue I think.

 

When we are seeing 504, I think it is mostly related to timeout, and not a 'broken' wiki.

 

I can share logs at some point, but they may not make much sense, given the level of obfuscation that s4n has placed on the entire server config ... while this undoubtedly thwarts unwanted hackers, it also thwarts legit admin.



#19 Mator

Mator

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 627 posts

Posted 18 April 2018 - 03:14 PM

Based on your feedback z, I think a good temporary solution would be to split the largest guide pages into 2 (or more) pages.


  • 0

#20 z929669

z929669

    Ixian Inventor

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 9,314 posts

Posted 18 April 2018 - 05:58 PM

I just checked the wiki, and it seems to be behaving normally now (crossing fingers).

 

It looks like the recent change Diana made might have done the trick ... I don't have time to look carefully at the wiki markup in that last diff, but I suspect there was some kind of recursive or circular Semantic call in there somewhere.

 

If anyone cares to look closely at that diff, maybe that person can identify a possible culprit. HTML styling and class 'wikitable' shouldn't be a problem ... look for Semantic calls and curly braces.

 

This corroborates my suspicion that there was a problematic edit to one of the recent guide pages beginning on the 16th.

 

Anyone care to confirm that the wiki is behaving now and/or the latest removed content in the diff above?



#21 TechAngel85

TechAngel85

    Akatosh

  • Administrators
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 12,626 posts

Posted 18 April 2018 - 06:27 PM

I just checked the wiki, and it seems to be behaving normally now (crossing fingers).

 

It looks like the recent change Diana made might have done the trick ... I don't have time to look carefully at the wiki markup in that last diff, but I suspect there was some kind of recursive or circular Semantic call in there somewhere.

 

If anyone cares to look closely at that diff, maybe that person can identify a possible culprit. HTML styling and class 'wikitable' shouldn't be a problem ... look for Semantic calls and curly braces.

 

This corroborates my suspicion that there was a problematic edit to one of the recent guide pages beginning on the 16th.

 

Anyone care to confirm that the wiki is behaving now and/or the latest removed content in the diff above?

I did a quick scan through and it only looks like a bunch of tables being removed. Nothing looks out of place. It could be the number of tables being called for a single page, in which case splitting up the guide into multiple pages should fix that.



#22 Diana_TES_GotH

Diana_TES_GotH

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 671 posts

Posted 18 April 2018 - 07:19 PM

I did a quick scan through and it only looks like a bunch of tables being removed. Nothing looks out of place. It could be the number of tables being called for a single page, in which case splitting up the guide into multiple pages should fix that.

Sorry the late response. I didn't realize until further research that my tables were a semantic mediawiki template. As soon as I was able to edit them out, I did. I am so glad that seems to fix the problem. I am developing a new table template that is based on this formula: 

 

<table>
<tr>
    <th>Header 1</th>
    <th>Header 2</th>
</tr>
  <tr>
    <td>John</td>
    <td>Doe</td>
  </tr>
  <tr>
    <td>Jane</td>
    <td>Doe</td>
  </tr>
</table>

I'm playing around right now with a variety of ways to set it up to my liking.

Previously I was using this table template:

 

{| class="wikitable"
|-
! style="width: 100px;" | Tag
! style="width: 580px;" | Name and Description
! style="width: 580px;" | Download Filename
! style="width: 580px;" | Additional Notes
|-
| style="background-color: #36393E"" | <div style="cursor:default; border-radius:2px; width:80px; height:16px; background:-webkit-linear-gradient(#434343, #000000); background:-moz-linear-gradient(#434343, #000000); background:-o-linear-gradient(#434343, #000000); background:linear-gradient(#434343, #000000); text-align:center; display:inline-block; padding:1px;"><span style="font-size:12px; color:#ffcc00; line-height:1em;"><i><b>Morroblivion</b></i></span></div>
| style="background-color: #36393E"" | [https://www.nexusmods.com/games? Name] Description
| style="background-color: #36393E"" | <span style="color: #9eb8ee">File Name</span>
| style="background-color: #36393E"" | Special Installation Instructions
|}

Edited by Diana_TES_GotH, 18 April 2018 - 07:17 PM.

  • 0

#23 Diana_TES_GotH

Diana_TES_GotH

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 671 posts

Posted 18 April 2018 - 07:28 PM

I can legitimately say it was my semantics that sent STEP Wiki over the edge the past couple of days.  :doh:


  • 0

#24 Mator

Mator

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 627 posts

Posted 18 April 2018 - 07:33 PM

I can legitimately say it was my semantics that sent STEP Wiki over the edge the past couple of days.  :doh:

Haha, all good :)


  • 0

#25 Diana_TES_GotH

Diana_TES_GotH

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 671 posts

Posted 18 April 2018 - 11:42 PM

I'm still learning much of this as I go, but many of the templates I have previously used were copied from the "View Source" page from the main STEP Guide or other user contributions. Perhaps we could help create a few non SMW templates and encourage other users to refrain from using them as well. If we want to reduce the semantic media wiki table templates, I have a new simple html template I will be using, until someone creates a new better template to share with us. ;) 

 

 

The tables are identical when compared in preview:

 

Table: SMW {| |} = HTML <table></table>

Caption: SMW |+ = HTML <caption></caption>
Row: SMW |- = HTML <tr></tr>
Data cell: SMW | cell1 = HTML <td>cell1</td>
Header cell: SMW | cell2 = HTML <td>cell2</td>
 
HTML vs SMW Table Template

  • 0

#26 DarkladyLexy

DarkladyLexy

    Dragon King

  • Pack Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,230 posts

Posted 19 April 2018 - 03:14 AM

Just so you are aware Diana when me and Darth were developing the SRLE Extended LOTD guide we actually hit the Wiki's Template Limit and had to switch most of our templates to HTML/CSS that JD created. The only templates we currently use are for Notices.warnings, FOMODs and a table for Wrye Bash Tags.

 

I am also unsure if these FODMOD Template are semantic mediawiki template so that is something we need to be mindful of.


  • 0

#27 DarkladyLexy

DarkladyLexy

    Dragon King

  • Pack Authors
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 4,230 posts

Posted 19 April 2018 - 09:25 AM

Well the Wiki was working this morning when i was able to do a small update to my guide but it down again if it will help ease things i can look at spiting mine up a bit more?


  • 0

#28 Diana_TES_GotH

Diana_TES_GotH

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 671 posts

Posted 19 April 2018 - 10:17 AM

Well the Wiki was working this morning when i was able to do a small update to my guide but it down again if it will help ease things i can look at spiting mine up a bit more?

Bummer, it's down for me too. While SMW may be part of the culprit, perhaps there is more going on. I was hoping removing my tables had resolved the issue. Thank you for the tip about your coding. When I need to use a new template I'll look over what you use and try to implement it as well. This has been a fun place for me learn Wiki editing, and now I'm addicted.


  • 0

#29 Mator

Mator

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 627 posts

Posted 19 April 2018 - 11:26 AM

I'm still learning much of this as I go, but many of the templates I have previously used were copied from the "View Source" page from the main STEP Guide or other user contributions. Perhaps we could help create a few non SMW templates and encourage other users to refrain from using them as well. If we want to reduce the semantic media wiki table templates, I have a new simple html template I will be using, until someone creates a new better template to share with us. ;)

I think you guys should only do this if we continue to experience timeouts.  I've been developing the new STEP CMS over the last few days and it's using Angular templates.  These are even better than HTML templates in terms of server load except you can type as much (or less than) SMW templates.

 

As an example, here is how you use an AngularJS template for the System Requirements table on the STEP v2.10.0 guide:

<system-requirements requirements="{
  'Windows OS': {
    min: 'Windows 7 32-bit',
    rec: 'Windows 7 64-bit or later'
  },
  'CPU': {
    min: 'Intel Core i3/equivalent (dual core)',
    rec: 'Intel Core i5/equivalent or higher'
  },
  'System RAM': {
    min: '8 GB',
    rec: '8 GB or higher'
  },
  'GPU': {
    min: 'Nvidia GTX 660 2GB VRAM / AMD Radeon HD 7850 2GB',
    rec: 'Nvidia GTX 660 2GB VRAM / AMD Radeon HD 7850 2GB / or better'
  },
  'Monitor Resolution': {
    min: '1366x768',
    rec: '1920x1080'
  }
}"></system-requirements>

  • 0

#30 Diana_TES_GotH

Diana_TES_GotH

    Jarl

  • Mod Authors
  • PipPipPipPipPipPipPipPipPip
  • 671 posts

Posted 19 April 2018 - 12:09 PM

 

I think you guys should only do this if we continue to experience timeouts.  I've been developing the new STEP CMS over the last few days and it's using Angular templates.  These are even better than HTML templates in terms of server load except you can type as much (or less than) SMW templates.

 

As an example, here is how you use an AngularJS template for the System Requirements table on the STEP v2.10.0 guide:

<system-requirements requirements="{
  'Windows OS': {
    min: 'Windows 7 32-bit',
    rec: 'Windows 7 64-bit or later'
  },
  'CPU': {
    min: 'Intel Core i3/equivalent (dual core)',
    rec: 'Intel Core i5/equivalent or higher'
  },
  'System RAM': {
    min: '8 GB',
    rec: '8 GB or higher'
  },
  'GPU': {
    min: 'Nvidia GTX 660 2GB VRAM / AMD Radeon HD 7850 2GB',
    rec: 'Nvidia GTX 660 2GB VRAM / AMD Radeon HD 7850 2GB / or better'
  },
  'Monitor Resolution': {
    min: '1366x768',
    rec: '1920x1080'
  }
}"></system-requirements>

You just sent this little ole grandma back to class again. Gotta keep up with the times.  :woot:


Edited by Diana_TES_GotH, 19 April 2018 - 12:10 PM.

  • 0


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users