#foswiki 2017-01-10,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***ChanServ sets mode: +o Lynnwood [02:46]
....................................................... (idle for 4h30mn)
ChanServ sets mode: +o MichaelDaum [07:16]
......... (idle for 43mn)
foswiki_irc7For Foswiki 2.1.2 - does the VM need to be Ubuntu or follow old instruction linux debian - https://foswiki.org/Download/FoswikiRelease02x01x02?redirectedfrom=Download.WebHome
nickJasonT
[07:59]
***Nemo_bis has left [08:03]
ChanServ sets mode: +o cdot [08:14]
................. (idle for 1h24mn)
fsfs has quit IRC (*.net *.split)
FoswikiBot has quit IRC (*.net *.split)
[09:38]
....... (idle for 32mn)
cdot has left [10:11]
.................. (idle for 1h26mn)
stefan_slighthello :-)
good and relaxed 2017 to everyone :-)
is it possible to modify the landing page that is shown after a sub-web has been added?
[11:37]
..... (idle for 21mn)
uebera||stefan_slight: You might want to have a look at https://foswiki.org/Development/MakeStartPageCOnfigurable where this is mentioned
but AFAIK it's not yet possible OOTB.
[11:59]
stefan_slightuebera||: hm iam meaning the page that is displayed on successully creating a subweb. this is returned after you use the 'create subweb' formular.
it states something like 'Attention' 'the new web has been created' .... (with translated texts) my idea was to change this to include a documentation for what the user has to do next for the web to work as expected (we have a special usecase so he has to fill in some default information)
[12:09]
i have looked in the system and main web but did not find any Topic - so could be that this is hard-coded in the core?! [12:14]
uebera||I see. This is part of core/templates/messages.tmpl (TMPL:DEF{"created_web"}).
See https://foswiki.org/System/SkinTemplates ("A skin can provide a new version of any or all of these templates [...]")
[12:27]
........ (idle for 36mn)
***ChanServ sets mode: +o Lynnwood [13:05]
.... (idle for 18mn)
stefan_slightuebera||: ah ok - thanks! i will have a look at this later :-) now iam away... [13:23]
..... (idle for 23mn)
***ChanServ sets mode: +o Lynnwood [13:46]
................ (idle for 1h15mn)
zak256 has left [15:01]
......... (idle for 44mn)
ChanServ sets mode: +o gac410 [15:45]
ChanServ sets mode: +o cdot [15:58]
....... (idle for 34mn)
foswiki_irc4Hello, I am new to foswiki and would like to receive advice on how to install it. [16:32]
gac410hi foswiki_irc4 what platform are you installing it on? [16:32]
foswiki_irc4arch linux 64 bit [16:32]
gac410okay. I'm not familiar with arch linux, Do you have specific questions? [16:33]
foswiki_irc4I tried following the directions for configuring foswiki with apache 2.4 and I'm not sure what url I'm supposed to use to access the wiki. [16:35]
gac410Did you use the Foswiki:Support.ApacheConfigGenerator? [16:35]
FoswikiBothttps://foswiki.org/Support.ApacheConfigGenerator? [ ApacheConfigGenerator ] [16:35]
foswiki_irc4I used the config generator already and included the foswiki.conf directory in the httpd.conf
not sure what to do next
[16:37]
gac410Okay, so in the config generator, what did you put in URL Path and did you enable short URLs? [16:38]
YxorpHelp@gac410 hello George, Running Foswiki 2.1.2 , RHEL 6, Apache 2.2 , I am still getting Error 401 for WebHome on a GET request, Causes a Foswiki_Redirect_Cache in the URL when a user logs in the first time successfully, second login goes in clean not sure where to authorize permissions for this, running reverse proxy with pgadmin. [16:39]
foswiki_irc4The url information was set to /foswiki and short urls were enabled [16:39]
gac410Okay, so foswiki_irc4 you should be able to just visit "yoursite.com/foswiki" and it should bring up the Main.WebHome page.
Assuming you restarted apache ;)
YxorpHelp: I'm sorry but I have no idea what's going on.
what does pgadmin have to do with foswiki? Unless you are caching in a a postgres database, we have no dependency on postgres, and don't use it for any admin functions.
[16:40]
YxorpHelp@gac410 .... do you know where the .htaccess is suppose to reside, i only have one in /working , for Deny from All [16:42]
gac410When you have full control of the server, you shuould not need or be using any .htaccess files. Those are slow compared to using an apache configuration. [16:43]
foswiki_irc4gac410: when I try to access localhost/foswiki I am unable to connect [16:43]
gac410foswiki_irc4: Did you apache start? Is it listening on port 80? [16:44]
YxorpHelphm you just gave me an idea. for the postgres caching something
thanks George. I will go back to the grind on this again
[16:44]
foswiki_irc4yes I started the apache service, I'm not sure what port it's listening on [16:44]
gac410postgres caching is a specific feature of Foswiki - PageCache ... For getting started it may be best to disable it. [16:44]
YxorpHelpis the disable in bin/configure? [16:45]
gac410By default it should be on port 80. Maybe you have a config error and it didn't start. Make sure that it's still running. [16:45]
YxorpHelphow do i change it to port 443 [16:46]
gac410YxorpHelp: It's an optional feature. I believe it's in bin/configure under tuning. It causes foswiki to cache the rendered HTML pages and to return them when available. [16:46]
YxorpHelp@gac410 thank you I will look for it [16:46]
gac410YxorpHelp: How do you change what to 443. I was answering foswiki_irc4 [16:46]
YxorpHelpoh sorry... for interrupting foswiki.irc4 [16:46]
gac410no prob. It's tough following multiple threads. [16:47]
foswiki_irc4Do you know how I would check what port apache is listening on? [16:47]
gac410look in your apache configuration for "Listen 80" or another port. It might be 80 (http) or 443 (https) though that needs more configuration.
issue ps -aux ... make sure apache or httpd is in the list.
I have no idea how to check for service status on arch linux.
[16:48]
foswiki_irc4I checked the status of httpd, it says httpd failed to start because of a syntax error in foswiki.conf: Invalid command 'RewriteEngine' [16:53]
gac410Okay ... you need to enable mod_rewrite. No idea how to on arch linux. On debian, it's a2enmod rewrite command.
You probably also need to enable the "cgi" or "cgid" module - which one depends on how apache is set up.
[16:54]
foswiki_irc4okay, I enabled rewrite in httpd.conf and now when I access localhost/foswiki it shows a perl script file
httpd is starting now
[17:00]
gac410Okay if you are seeing a perl script, then cgid needs to be enabled.
Or... you have not actually gotten your foswiki apache configuration enabled.
[17:01]
foswiki_irc4Do you know how I would enable cgid? I uncommented 'LoadModule cgid_module' in httpd.conf, it still just shows a perl script file [17:12]
gac410you restarted apache after the config change? [17:12]
foswiki_irc4yes [17:13]
gac410And your generated foswiki.conf is Included in httpd.conf (or however arch linux has you load configs?
Try forcing a reload - your browser may have cached the perl. (shift-reload?)
[17:14]
foswiki_irc4okay I reloaded the browser and now it says server error [17:16]
gac410okay ... Did you install all the dependencies listed on Foswiki:System.SystemRequirements ... I don't know the specific package names or commands for arch linux [17:17]
FoswikiBothttps://foswiki.org/System.SystemRequirements [ SystemRequirements ] [17:17]
gac410500 server error is probably missing dependencies [17:17]
foswiki_irc4when I try to access localhost/foswiki, the httpd error log says this: BEGIN failed--compilation aborted at /srv/http/foswiki/bin/view line 11. [Tue Jan 10 12:24:38.926330 2017] [cgid:error] [pid 25372] [client ::1:57508] End of script output before headers: view [17:25]
cdotSounds like you haven't set the right handler in the apache config. [17:30]
foswiki_irc4it also says 'can't locate CGI/Carp.pm (you may need to install the CGI:: Carp module)' [17:31]
cdotprobably best to yum install the appropriate perl module [17:32]
gac410foswiki_irc4: as I said - You need to install modules - no idea how to do it on arch linux.
If arch uses yum, go to Foswiki:System.SystemRequirements, scroll down and click the "show red-hat, suse and other rpm" link, That will show you the yum commands
[17:32]
FoswikiBothttps://foswiki.org/System.SystemRequirements, [17:33]
cdotarch uses pacman, doesn't it?
(and that's about the limit of my knowledge of pacman)
[17:34]
gac410an old archive game that chases little ghosts around? That's about the extend of my knowledge :D [17:35]
foswiki_irc4yes
I'm installing yum
[17:35]
gac410well you can use pacman ... we just need to come up with the package names. [17:36]
cdotgac410: showing your age, now ;-) [17:36]
gac410You might ask or google around for packman commanded needed to install perl modules. Ususally it's some formula ie CGI::Carp becomes libcgi-carp-perl on a debian system
And if you come up with the command and names, please share! We'll add them to our documentation.
[17:37]
cdotpaclage seems to be perl-cgi
https://www.archlinux.org/packages/community/any/perl-cgi/files/
sudo pacman -S perl-cgi would be my guess
[17:39]
foswiki_irc4Okay, I installed the package perl-cgi, and now I get a new error: http://pastebin.com/MzUiSrQa [17:46]
gac410One more time. You need to install ALL of the modules listed on Foswiki:System.SystemRequirements. [17:47]
FoswikiBothttps://foswiki.org/System.SystemRequirements. [ SystemRequirements ] [17:47]
gac410Algorithm::Diff Archive::Tar Authen::SASL CGI CGI::Session Crypt::PasswdMD5 Digest::SHA Error Email::MIME Encode File::Copy::Recursive HTML::Parser HTML::Tree IO::Socket::IP IO::Socket::SSL JSON Locale::Maketext Locale::Maketext::Lexicon Locale::Msgfmt LWP LWP::Protocol::https URI version [17:48]
foswiki_irc4welp... that could take a while [17:48]
gac410For the distros we know, we provide "one-line" commands to accomplish this. For arch linux, you'll need to conver the module names to package names.
If you figure it out, please get us the list of package names and we'll incorporate it into the documentation to help the next user.
[17:49]
foswiki_irc4I might try to use the package perl-cpanplus-dist-arch to install the perl modules [17:58]
gac410whatever works for your architecture.
by the way, what version of perl (issue perl -v )
[17:59]
foswiki_irc4perl 5, version 24 [18:00]
gac410wow .. .okay good. That's the latest! performance is best on newest perl [18:00]
.... (idle for 16mn)
foswiki_irc4Any idea what this means? flush(): couldn't store datastr: store(): couldn't open '/srv/http/foswiki/working/tmp/cgisess_7c51b7ff4fec6f60a26a4118cb8265d1': Permission denied at /srv/http/foswiki/lib/Foswiki/LoginManager.pm line 721.
the file cgisess... doesn't exist
[18:16]
gac410Sounds like apache does not have ownership of the foswiki install. Did you chown -R the extracted directory to your apache user?
no idea what user though. apache? httpd? www-data? every distro is different :(
Installation guide step 2
Foswiki:System.InstallationGuide
[18:17]
FoswikiBothttps://foswiki.org/System.InstallationGuide [ InstallationGuide ] [18:18]
foswiki_irc4I fixed permissions of foswiki directory and I get a foswiki page!
but I didn't install most of the dependencies on the list so I think I'll still have problems
[18:19]
gac410Y you'll need many of them. Go to yoursite.com/foswiki/System/PerlDependencyReport and it will tell you what is missing [18:20]
foswiki_irc4thanks for the help, I have to go to my doctor's appointment now lol [18:28]
gac410cu [18:28]
***ChanServ sets mode: +o MichaelDaum [18:34]
GithubBot[TagMePlugin] gac410 pushed 1 new commit to master: https://git.io/vMBNe
TagMePlugin/master 3497ed8 George Clark: Item13916: Fix unicode support in TagMePlugin...
[18:42]
***GithubBot has left [18:42]
FoswikiBothttps://foswiki.org/Tasks/Item13916 [ Item13916: TagMePlugin need switch for utf8 when it used Foswiki::Func::saveFile|readFile. ] [18:42]
***gac410 sets mode: +v WikiRingBot
gac410 sets mode: +v FoswikiBot
[18:46]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)