circuits / sahriswiki

A modern fast self-hosted wiki engine writtein in Python with first-class Docker support
https://sahriswiki.org/
Other
4 stars 3 forks source link

sahriswiki.org is down #6

Closed PeteBleackley closed 8 years ago

PeteBleackley commented 8 years ago

I'm interested in setting up a site using SahrisWiki, and have been trying to look at your website for more information. Unfortunately, it's been down for most of this week.

prologic commented 8 years ago

So it is :) Let me fix that. http://prologic.shortcircuit.net.au/ is powered by the same engine and is up :) I also need to fix the data stores on these sites :) I fubared some of my home infra up but haven't fixed it yet :)

cheers James

James Mills / prologic

E: prologic@shortcircuit.net.au W: prologic.shortcircuit.net.au

On Fri, Jun 3, 2016 at 1:26 AM, Pete Bleackley notifications@github.com wrote:

I'm interested in setting up a site using SahrisWiki, and have been trying to look at your website http://sahriswiki.org for more information. Unfortunately, it's been down for most of this week.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prologic/sahriswiki/issues/6, or mute the thread https://github.com/notifications/unsubscribe/ABOv-sn4ubBEkux-_AxZ93ULOSFjsa2uks5qH-UhgaJpZM4ItTy3 .

prologic commented 8 years ago

It's back up now :)

Also this can be spun up with Docker! Here's a docker-compose.yml:

sahriswiki:
  image: prologic/sahriswiki
  environment:
    - VIRTUALHOST=sahriswiki.org
  restart: always
prologic commented 8 years ago

And a configuration that uses a local volume storage:

prologic:
  image: prologic/sahriswiki
  environment:
    - VIRTUALHOST=prologic.shortcircuit.net.au
  volume_driver: local
  volumes:
    - prologicdata:/data
  command: -r /data/prologic/pages -d sqlite:////data/prologic.db -p 80 --debug
  restart: always
prologic commented 8 years ago

@PeteBleackley Any questions or feedback you have? Can I help in any way?

PeteBleackley commented 8 years ago

One thing I'd like to know about is using a bot to create pages on my sahriswiki instance. Would a single POST request to page/+Edit with payload={'action':'save', 'text':page} work, or is there anything else I need to do?

prologic commented 8 years ago

This would work totally fine as it's a pretty normal HTML form that you just POST to.

However that being said; the "wiki pages" (content) are actually stored in a Mercurial repository which can be accessed/cloned/pushed-to/etc at /+hg/ -- So you could just get your bot to push commits to the underlying repository!

PeteBleackley commented 7 years ago

sahriswiki.org is down again. It's giving a 404 error for the main page.

prologic commented 7 years ago

Thanks for reporting :) Fixed! I forgot about my sahrswiki sites when upgrading my infra to docker stack services proper!

James Mills / prologic

E: prologic@shortcircuit.net.au W: prologic.shortcircuit.net.au

On Fri, Aug 4, 2017 at 3:57 AM, Pete Bleackley notifications@github.com wrote:

sahriswiki.org is down again. It's giving a 404 error for the main page.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/prologic/sahriswiki/issues/6#issuecomment-320220665, or mute the thread https://github.com/notifications/unsubscribe-auth/ABOv-mWv1HXPRKn9VSaRVd9Da69O9_B2ks5sUvkHgaJpZM4ItTy3 .