Recent Posts
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues The whole point of |
posted 9 years ago
joelwatsonfish
7 posts
|
Forum: Instiki – Topic: Dreamhost installation issues Since I haven’t tried installing Instiki, I don’t have have an Instiki directory, however from my home directory, the following
yields
However, from /home/username/.rbenv/versions/2.2.0/bin/ the following
yields
|
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues OK. So let’s assume you’ve gotten that far correctly.
The first command should return the version of Ruby you’re using (hopefully 2.2). The second should run the included version of Bundler (as opposed to the one you installed via |
posted 9 years ago
joelwatsonfish
7 posts
|
Forum: Instiki – Topic: Dreamhost installation issues I tried following the instructions to install rbenv and got stuck at the line
as it gives the error (in red)
I found a Gemfile in a couple of subdirectories of ~/.rbenv/ but it’s not in my ~/websitename/ directory, which is where the script was supposed to be run from. I posted the same question on the forum/comments section there, but it looks like it’s been a year since the guy responded last, so I’m not sure if I’ll get a response. Any thoughts? [EDIT:] I should add that I was trying to install Ruby 2.2.0 |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues
|
posted 9 years ago
joelwatsonfish
7 posts
|
Forum: Instiki – Topic: Dreamhost installation issues There aren’t any options that are completely obvious to me (e.g. one click/command install/update etc.). Google searching a bit turns up the following.
I think to install RVM I need to run a VPS which increases my monthly costs significantly. |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues I think it would be better to start with a more recent version (≥1.9.3) of Ruby. What are your options for that? |
posted 9 years ago
joelwatsonfish
7 posts
|
Forum: Instiki – Topic: Dreamhost installation issues Okay, I have a fresh account to start with. I set up passenger, backed up all files and folders in ~/BACKUP/ and I’ve done nothing else with the clean account.
What should my next step be? Update Ruby, or follow the hosted services instructions? |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues “… although if I want to run Ruby 2.1 or 2.2 I think I’m going to have to build it from source, which I don’t know how to do yet.” Build Ruby from source? I don’t think you want to do that (unless you really have to). It would be better to have a known-working version of Ruby, so that we don’t have to debug possible problems in your Ruby installation as well (well, OK, technically we are already doing that, since your versions of Ruby and Rubgems aren’t totally compatible). Instiki should work fine with Ruby 1.9.3, if that’s really the most recent version you have access to. We’d just need to modify a line in |
posted 9 years ago
joelwatsonfish
7 posts
|
Forum: Instiki – Topic: Dreamhost installation issues I edited the Gemfile because following the instiki Hosted Services instructions caused an error, and google searching the error for a while turned up the suggestion to make the modification the the Gemfile. It seemed to make progress, but maybe not. Ruby 1.8.7 seems to be the default version on Dreamhost, and so I think because you wrote
they upgraded me from 1.8.7 to 1.9.3, but not to 2.x (at least, I’m assuming that’s an upgrade). Later today I’ll try to uninstall everything, and start from scratch, although if I want to run Ruby 2.1 or 2.2 I think I’m going to have to build it from source, which I don’t know how to do yet. I’m used to installing via yum/apt-get, so if you could point me to a link to build from source, that would be helpful. If not, I’ll figure try to figure it out on my own, and post the output here. Thank you very much for your help. |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues I’m sorry. I am quite confused as to your configuration. In your first message, you indicated that
Now you tell me that progress was made by downgrading your Ruby version to “<2.0”?!? That said, I sorta understand the error about Gem.source_index. The version(s) of Rubygems which came with Ruby < 2.0 had that method. Later versions do not. So there’s a monkey-patch in Evidently, you have the odd combination of an old (1.9.3) version or Ruby and a recent version of Rubygems. Maybe you should start again with
Run |
posted 9 years ago
joelwatsonfish
7 posts
edited 9 years ago |
Forum: Instiki – Topic: Dreamhost installation issues Thanks for the help. I emailed the the folks at Dreamhost (who seem quite helpful), and they sent me this back.
They suggested I bring this error back to the boards here to see if you knew what was going on. When I run
I get the following:
And again if it’s helpful I have the following.
Again, any help would be appreciated. |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues On the other hand, if you’re just using ASCII characters, you can replace |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: Dreamhost installation issues Hmmm. I’m afraid that Maruku no longer supports Ruby 1.8.x (which is EOL). I think you need at least Ruby 1.9.3. I guess I should update the documentation accordingly … |
posted 9 years ago
joelwatsonfish
7 posts
|
Forum: Instiki – Topic: Dreamhost installation issues I’m not sure if this is the right place to post this, so my apologies if not. I’m trying to install instiki on a new Dreamhost account. Since I don’t have super-user access, I can’t follow the usual instructions, and instead tried to follow the hosted services instructions, but I’m having some difficulties. The first issue is that if I follow the instructions and try $ ./instiki I get an error message containing the line ‘ruby_20’ is not a valid platform I edited the Gemfile replacing the string [:ruby_20, :ruby_21, :ruby_22] with the string [:ruby] Then when I run $ ./instiki I get the following:
If I go to http://mydomainname.org I get the error message:
I’m not sure what to do at this point. If it helps, I’m using ruby 1.8.7, Rails 3.0.3, bundler 1.10.6 |
posted 9 years ago
distler
123 posts
|
Forum: Instiki – Topic: HTML/PHP comments? Short answer: no. You can try embedding (X)HTML comments in the source, but they get escaped (for a variety of security-related reasons) and hence are “visible” on the page. Longer answer: Metadata about the page can be placed in a way that does not appear in the rendered output. The syntax is that of email headers (key-value pairs, at the beginning of the page, separated from the main text by a newline):
This is not quite what you asked for, but it may serve your purpose, depending on what use-case you had in mind. |
posted 9 years ago
xuinkrbin.
1 post
|
Forum: Instiki – Topic: HTML/PHP comments? Is there a way to embed comments in an Instiki page which appear only in the source itself and not to a casual reader? |
posted almost 10 years ago
distler
123 posts
|
Forum: Instiki – Topic: instiki_session cookie overflows after some editing
Well, since the changeset that I linked to above also involves changes to Moreover, updating all of the files in
Currently I am awaiting the release of Passenger 5.0.7, to see whether it resolves some issues with Instiki, or whether changes on the Instiki end are also required. If all goes according to plan, I’ll roll another release sometime in the early summer. For whatever it’s worth, though, this site runs on the latest development version of Instiki (with Passenger 4.0.59) and is perfectly stable. If you’re having issues with Instiki 0.19.7, I’d recommend updating now. |
posted almost 10 years ago
peter_ljung
2 posts
|
Forum: Instiki – Topic: instiki_session cookie overflows after some editing Thanks for your reply ! I made a quick test with the latest source from git. I only replaced the /app folder of my current wiki, but I seem to have some kind of problem. I got an error (directly in the browser)
I think I will wait for the 19.8 release on this one. This is not a huge problem. |
posted almost 10 years ago
distler
123 posts
|
Forum: Instiki – Topic: instiki_session cookie overflows after some editing Try using the latest Development Version. (Grab it either from my BZR Repository, from Github or as a tarball.) There are some changes that should fix the problem. Someday, I’ll get around to releasing 0.19.8 …. |
posted almost 10 years ago
peter_ljung
2 posts
|
Forum: Instiki – Topic: instiki_session cookie overflows after some editing The After a while I reach the 4kB limit and instiki returns an:
My web server (http://www.lounge.se) is setup as follows:
When I clear the cookie it start working again for a while until it reached 4k limit agina. Any suggestions of what could be wrong? |
posted almost 10 years ago
distler
123 posts
|
Forum: Instiki – Topic: Instiki hyperlinks failures
Oh. I think I misunderstood your problem. Of course you can’t create an HTML link to some random file in (a random subdirectory of) the instiki directory. That would be stupid and dangerous. As you can see from URLs for the CSS and javascript files on your Instiki pages, you can link to files in the
That’s for security. You ought to be able to trust that the content of an Instiki page is safe. Thus (for instance) you can’t edit an Instiki page and add malicious javascript to it. This protection would be vitiated, if you could put the malicious javascript in an HTML file that opened in the user’s browser as if it were just another page on the Instiki wiki. This restriction does not apply to files in the |
posted almost 10 years ago
nkay
8 posts
|
Forum: Instiki – Topic: Instiki hyperlinks failures Thanks for the response. Unfortunately the same error occurs. I have tried many different syntax’s each resulting the same error. I did figure out that if I tried to upload a file into instiki (which automatically creates a ‘files’ folder in the Webs directory, and moved the html file to the newly created ‘files’ folder and update the code I can get it to not error out. If I create additional folders nested in the ‘files’ folder than it errors back out. I checked permissions on the folders and everything is fine. I guess also a functionality thing I noticed is that if you click on the hyperlink to an local hosted html page. Instiki calls up a download box within the browser and asks the user if they want to save the html file locally, instead of actually opening the page within the browser as an actual webpage. Is this an issue or just how instiki displays local html files? |
posted almost 10 years ago
tanzer
36 posts
|
Forum: Instiki – Topic: Idle Instiki was using 17% of CPU on a shared host Problems not related. Sysadmins fixed a server problem. Instiki with high CPU usage has not recurred after that one incident. Thanks |
posted almost 10 years ago
distler
123 posts
|
Forum: Instiki – Topic: Instiki hyperlinks failures How about
? I don’t know how well Textile handles the “:” in the URL you were using. |
posted almost 10 years ago
nkay
8 posts
edited almost 10 years ago |
Forum: Instiki – Topic: Instiki hyperlinks failures I am having an issues with hyperlinks with our WIKI page using the textile markup. Hyperlinks to external webpages work eg. “www.google.com” but any internal html pages within the instiki filesystem end up getting application errors. “Environment Configuration”:http://acesrep:2500/aces/wiki_files/environments/AcesEnvironments.html) I receive “Internal Error” An application error occurred while processing your request. Looking at the source of the page I get these dumps.
If I open up the HTML document within the server itself it works fine but not as a link through instiki wiki. |
posted almost 10 years ago
tanzer
36 posts
|
Forum: Instiki – Topic: How do I bulk-clear the Instiki cache Thanks, I did that. It seems to be working fine, but one thing puzzles me. About a day after I cleared everything out as per the above, the full tree under instiki/cache/views/azimuth got repopulated – presumably when the site got crawled. But the storage folder didn’t get repopulated. Or rather, now there is just a single file in it: azimuth-markdownMML-2015-02-12-11-11-03.zip, with a timestamp of yesterday. Before I cleared out storage, there were tons of files it in, it looked something like one file per page of the wiki, though I didn’t look closely. Does this make sense; are there any signs of ill-health here? What is the function of the storage folder? Thanks. |
posted almost 10 years ago
distler
123 posts
|
Forum: Instiki – Topic: How do I bulk-clear the Instiki cache
That should be fine.
As should that.
All of those will be recreated, as needed. |
posted almost 10 years ago
tanzer
36 posts
|
Forum: Instiki – Topic: How do I bulk-clear the Instiki cache Can we make the instructions more specific, because I’m cautions about disrupting a structure that I don’t understand. How about: rm instiki/storage/* rm -r instiki/cache/views/azimuth There’s a whole structure of directories and files under the last directory, that’s okay to wipe out? |
posted almost 10 years ago
admin
63 posts
|
Forum: Instiki – Topic: How do I bulk-clear the Instiki cache
At the commandline, do an
of the appropriate directory. There isn’t a GUI tool to do it.
Those can all be deleted. |