|↑back Search ←Prev date Next date→ Show only urls||(Click on time to select a line by its url)|
|***||alexlist has quit IRC (Quit: Coyote finally caught me)||[00:00]|
|..................................................... (idle for 4h21mn)|
|ChanServ sets mode: +o gac410||[04:21]|
|................................... (idle for 2h51mn)|
|ChanServ sets mode: +o MichaelDaum||[07:12]|
|..................................................... (idle for 4h23mn)|
|ChanServ sets mode: +o Lynnwood||[11:35]|
|.......... (idle for 47mn)|
|ChanServ sets mode: +o gac410||[12:22]|
|........................ (idle for 1h59mn)|
|ChanServ sets mode: +o Lynnwood__||[14:21]|
|.......................................................................... (idle for 6h5mn)|
|CHYC||Can anyone explain why I don't get a textbox on edit pages after an upgrade to 2.1.3? Console looks OK. Seems to be broken in Chrome and Firefox
Downgrading to 2.1.2 works.
Any pointers gratefully received.
|CHYC||Don't think it's browser cache as I installed Chrome just to try it!||[20:28]|
|gac410||In configure, did you visit the Extensions -> JQuery settings page and select the latest version of jquery?
If you run the Foswki page cache, did you refresh the cache as admin, visit any URL with ?refresh=all
If you are using fastcgi / mod_perl did you restart the web server?
None of these are specific to your situation. Just things I'm thinking of that might go wrong.
|CHYC||jquery was 2.2.3. Bumped it to 2.2.4 bumped, restarted apache, cleared cache in browser, visited ?refresh=all. Fraid it's still the same.
I'm thinking there's a wayward plugin somewhere
|gac410||Do you have any locally customized skin. Try running with the default SKIN=natedit,pattern||[20:34]|
|CHYC||Nope, it's as vanilla as they come.||[20:34]|
|CHYC||I get a window.controllers is deprecated warning in the browser, no 404s.||[20:36]|
|gac410||On foswiki.org we've pretty much continuously upgraded from 2.0 ... right up through the latest 2.1.4-RC2 that is on it now. I've not seen anything like this.
Look at System/PerlDependencies, and System/InstalledPlugins for any errors
er. Make that System/PerlDependencyReport
|CHYC||No errors in apache logs.
I'm sure it's something very peculiar to my setup. I run some fairly exotic plugins.
Next step is to disable them one by one.
|gac410||If you have FOSWIKI_ASSERTS enabled in bin/LocalLib.cfg, you can use the "debugenabledplugins=...." query param to list the plugins you want active for a particular request.||[20:41]|
|CHYC||That's very useful information. Thanks||[20:42]|
|gac410||How did you upgrade? Just unzip the 2.1.3 upgrade.tgz on top of your installation?
Doe the wikitext editor work? vs the TinyMCE editor. Or even the old plaintext editor (remove "natedit" from the skin setting.
|CHYC||I followed the instructions here: https://foswiki.org/Download/FoswikiRelease02x01x03#Upgrade_Instructions||[20:44]|
|gac410||See https://foswiki.org/Support/Faq68 ... which has examples of how to use that debug faciliity. However in 2.1.3 it's disabled unless foswiki debugging is active as it could be a way for security extensions to be bypassed.
So just an in-place upgrade using tar --strip-components=1 -zxf /path/to/Foswiki-upgrade-2.1.3.tgz
|CHYC||Well, I copied the directory first for an easier rollback.||[20:46]|
Is this a public site?
How do I turn off natedit?
|gac410||remove the "natedit" from the SKIN=natedit,pattern
|CHYC||Hooray, setting SKIN = pattern gets me to an edit page :)||[20:51]|
|gac410||okay. Do both the TinyMCE Wysiwyg editor and the plain text editor work?||[20:52]|
|CHYC||I'm afraid you're speaking to a noob. Here's a picture of what I have, and it seems to work http://picpaste.com/foswiki-working-BytOGZlm.png||[20:54]|
|CHYC||I appreciate your help BTW. You've helped me loads already||[20:55]|
|gac410||but why natedit is toast ... I really have no idea.||[20:56]|
|CHYC||Yes, it's bizarre what with no errors logged.||[20:57]|
|gac410||There are only 3 very minor changes to NatEdit between 2.1.2 and 2.1.3 Our primary Natedit developer is offline right now.||[20:58]|
|CHYC||There's honestly no rush. TinyMCE may not look as shiny, but it seems to work so I'm much more relaxed than I was earlier :)
Many thanks gac410.
|After the upgrade, make sure all files have correct ownership. chown -R your-web-user:your-web-group foswiki
the actual user/group depends on the web server & OS. Might be www, www-data, apache, or ???
|CHYC||Yeah, I'm looking at that now.
Yes!! I did a recursive chown and it's all working
There is a note about that on the upgrade page, but it's subtle. "Be sure to run tar as your web server user." I should add a comment that if things don't work, be sure to set the proper ownership.
I'll add a pointer to this. https://foswiki.org/System/InstallationGuide#Step_2:_Confirm_file_and_directory_ownership_and_permissions
|................ (idle for 1h17mn)|
|daemon||hey all, I am installing foswiki and was looking for a few pointers
I believe I have succesfully gone throuigh the config, got SSL in order and so
but when I visit my domain https://wiki.tmp.group
I get a 404, even though vhosts is loaded and I used the generator on the website
cannot seem to find any reason it would be 404'ing all the paths look correct
the vhost starts its define as https://paste.ee/p/qm0MU
|............. (idle for 1h3mn)|
|gac410||hi daemon ... What OS did you install on?||[23:37]|
gac410, I realised though that fcgid was not installed, so I have added it now I am getting an error at least
[Thu May 18 23:37:54.530849 2017] [core:error] [pid 43809] [client 2001:470:1f09:101a:::62154] End of script output before headers: foswiki.fcgi
|gac410||If selinux or other mandatory access control is enabled that can make apache prevent execution.||[23:38]|
|daemon||selinux is not enabled||[23:38]|
|gac410||Check the server log files. There should be a log for the fcgi process I think.
er... no it should be the var/log/access_log and var/log/error_log
|GithubBot||[distro] vrurg pushed 1 new commit to Item13897: https://git.io/vHebk
distro/Item13897 7f153ad Vadim Belman: Item13897: Additional support for Unit::Leak::Object.
|***||GithubBot has left||[23:41]|
|FoswikiBot||https://foswiki.org/Tasks/Item13897 [ Item13897: Implement ImproveOOModel proposal. ]||[23:41]|
|gac410||that's not much :( I'm looking for some old notes I took a while back
I ran into an issue with the default shebang line in the scripts. We now default to "#!/usr/bin/env perl" which *should* pick up perl from the local environment and "just work" however it did not. I had to rewrite all the scripts to use /usr/local/bin/perl
|daemon||there we go
just got rid of a rake of problems
I ran foswiki.fcgi direclty in perl
had some missing deps
just cleared them up
now lets see whats stopping it
|vrurg||gac410: I've recently hit a problem with apache dropping off all but /bin and /usr/bin from the default PATH. This is where env stopped working – because perl is now /usr/local/bin on freebsd.||[23:46]|
|gac410||I don't know why /usr/bin/env perl doesn't work on freebsd. It works fine on linux||[23:46]|
|daemon||the most useless error logging ever conceived
jesus really nothing more
|vrurg||Fixed with manual SetEnv PATH in apache config.||[23:46]|
|daemon||gac410, I use that env path on a few of my other scripts seems to work||[23:46]|
|vrurg||daemon: Guess this is your case too.
They've silently changed something in apache port, I think.
where is the paths I need to change (thisd is my first time using well .... apache (version 2) or foswiki :)
|vrurg||daemon: the logging comes from the fact that env gives you no output and a bad exit code – that's all you eventually get in the log.||[23:48]|
|gac410||we have a script tools/rewriteshebang.pl it can rewrite all the shebang lines to wherever your||[23:48]|
|vrurg||gac410: Nah, better don't do it.
daemon: Do you use virtualhost setup?
|daemon||vrurg, yes in combination with the generator on the website||[23:48]|
|gac410||daemon: vrurg does a lot more with freebsd. I'll defer to his advice. My solution - brute force - is to fix the shebangs ;)||[23:48]|
was the output for it
|vrurg||Then within virtualhost directive 'SetEnv PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin' must be sufficient.||[23:49]|
|daemon||vrurg, you would not by chance be the port maintainer would you||[23:49]|
|vrurg||gac410: shebangs are good until you upgrade. Then you get the originals back – and voilà!||[23:50]|
|gac410||We don't have an official port. I have no idea who maintains it. Our only official distributions are the tar/zip files :(||[23:50]|
|daemon||vrurg, I have added it just below my servername in the virtualhost define||[23:50]|
|vrurg||daemon: Nah, the only port I ever maintained was a backup app. Quit it as long as changed work.||[23:50]|
|gac410||vrurg, I'll add that to the ApacheConfigGenerator Thanks for the suggestion.||[23:51]|
|daemon||vrurg, I am still getting that the script exited prematurely||[23:51]|
|vrurg||Hm... fcgid... That's worse.||[23:51]|
|daemon||worse than ... ? I can change to anything
this entire instance is just for this wiki :)
|vrurg||gac410: Will for for CGI though. I'm ashamed, but my lazyness highnesty still using CGI for the corporate setup. ;)||[23:52]|
|gac410||daemon: tools/dependencies should check all the dependencies for you. fcgid is very good :P Much faster.||[23:52]|
|vrurg||daemon: fcgi is good for speed, stick to it. The problem is that I don't rememeber where does it gets the PATH env from.||[23:53]|
it seems quite happy looking at that script
|gac410||well to test daemon, you can edit the bin/foswiki.fcgi script and make sure the first line points to your executable perl. But as vurug says, You need to make sure you fix it if you upgrade.||[23:53]|
|daemon||once this is working I will be looking at that my self
because I acctually puiblish scripts that use /usr/bin/env perl
and they work perfectly well
|vrurg||Agree with gac. Test with full perl path in shebang and see if this is the case.
Narrow down possible variants range.
|daemon||this is probably a remmeannt from the old old days||[23:54]|
|gac410||Email::Mime and Email::Simple are both required. I don't think foswiki will run without it.||[23:54]|
|daemon||but should that be chmod +x ?
because as it stands it does not have the execute bit set
|gac410||yikes ... yes fcgi script should be +x||[23:55]|
|vrurg||vrurg silently murmurs in a corner: "PSGI doesn't have to be an executable..." ;) ;)||[23:55]|
|daemon||yes thats what sprung to mind as well ;)
the full path made zero difference nor did the execute bit
|gac410||well until foswiki 3.0 comes out hopefully this decade ... psgi doesn't matter.||[23:56]|
|daemon||hold on I think Igot more debug output
let me check
[Thu May 18 23:57:14.447299 2017] [fcgid:warn] [pid 49872] [client 2001:470:1f09:101a:::62285] mod_fcgid: stderr: ERROR: Could not open logfile /usr/local/www/foswiki/working/logs/error.log for write. Your admin should repair file or directory access permissions and/or ownership!
[Thu May 18 23:57:14.447326 2017] [fcgid:warn] [pid 49872] [client 2001:470:1f09:101a:::62285] mod_fcgid: stderr: ERROR: Could not open logfile /usr/local/www/foswiki/working/logs/error.log for write. Your admin should repair file or directory access permissions and/or ownership!
change a few perms..
|gac410||Ah... Installed as root? Need to be owned by the apache user||[23:57]|
|vrurg||gac410: I'm just kidding. ;)||[23:57]|
|daemon||I installed the bloody freebsd package to hopefully not hit this||[23:57]|
|gac410||vrurg, don't say anything :D||[23:57]|
|daemon||time for an email to that maintainer
as it did not even include all the deps it needed either
and we have a site up!
|gac410||See Foswiki::System.SystemRequirements. We have an example "pkg install" command for freebsd||[23:58]|
|daemon||lots of warnings and errots||[23:58]|
|daemon||but at least its up||[23:58]|
|daemon||now time to go set that end path back /usr/local/bin SHOULD work||[23:58]|
|gac410||damn bot gave wrong link||[23:59]|
|vrurg||But I would suggest you avoid using foswiki port. Try manual install. Leave ports for dependencies.||[23:59]|
|gac410||Due to my typo Foswiki:System.SystemRequirements||[23:59]|
|FoswikiBot||https://foswiki.org/System.SystemRequirements [ SystemRequirements ]||[23:59]|
|gac410||much better bot. thanks.||[23:59]|
|FoswikiBot||vrurg: Karma for foswikibot is now 1 (thanks!)||[23:59]|
|↑back Search ←Prev date Next date→ Show only urls||(Click on time to select a line by its url)|