Thursday night on the couch, having a day off friday, I decided to do some layout work on the Confluence we use at my workplace (just for the fun of it, as my work is my hobby - sort of anyway).
I had created a new User Macro, that I wanted to implement on the Dashboard, so I started editing in the Global Layouts in Confluence to place it on the Dashboard:
As part of the changing of the Dashboard code, I entered:
After that, I changed the DECORATOR.sql file i the "vim" editor - stripping off everything but the record for DECORATORID=64913409, and change the "INSERT INTO" to an "UPDATE" so it looked like:
UPDATE DECORATORS SET body='### ...code...code...code.' WHERE DECORATORID=64913409
And the whole point being that I removed the "{html}<font size=\"4\">Space Quick Select</font>{html}" from the body code.
Busting the Work Confluence
Thursday night on the couch, having a day off friday, I decided to do some layout work on the Confluence we use at my workplace (just for the fun of it, as my work is my hobby - sort of anyway).
I had created a new User Macro, that I wanted to implement on the Dashboard, so I started editing in the Global Layouts in Confluence to place it on the Dashboard:
As part of the changing of the Dashboard code, I entered:
pressed "Save" and:
the Confluence went down - just giving me a "Service Unavailable" from the Traffic Manager.
Shit, I restarted the instance- no improvement.....so starting to diagnose:
Hm, error 500, diagnosting further:
So, It seems the code I put in the Global layout makes the Confluence crash totally, not just rendering the Dashboard, but TOTALLY!!!
I fired up for MySQL and looked at the DECORATORS table:
Now, 2 choises are available:
All though I am pretty sure number 2 works (same as using "Reset Default"), I went for number 1:
First, I shut down Confluence completely.
Then I made a complete dump of the Confluence Database:
After securing the backup, I dumped the DECORATOR table:
After that, I changed the DECORATOR.sql file i the "vim" editor - stripping off everything but the record for DECORATORID=64913409, and change the "INSERT INTO" to an "UPDATE" so it looked like:
And the whole point being that I removed the "{html}<font size=\"4\">Space Quick Select</font>{html}" from the body code.
Finally, I put back the decorator:
And started the Confluence Instance:
- up and running again
Sider med lignende indhold (Related Content)