Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Saturday, January 28, 2017

#ubuntu channel featuring airking, shibaloma, RedPenguin, peter__, ducasse, tomreyn, and 5 others.

peter__ 2017-01-28 02:45:09
yeah i,ve seen it yesterday
peter__ 2017-01-28 02:45:26
but i have no idea what and "howto" with alsa and kmix
tomreyn 2017-01-28 02:45:27
Dworf: since you have not provided any detzails, one could only guess. here is a guess: the php file type is not configured to be handled by the php interpreter on your (default?) HTTPS vhosts
peter__ 2017-01-28 02:45:41
so somebody have to show me if possible
peter__ 2017-01-28 02:46:05
knoppix installs really fast by the way
tomreyn 2017-01-28 02:46:15
peter__: this channel is only for ubuntu support, so if your questions are about knoppix, please ask there.
Dworf 2017-01-28 02:46:23
tomreyn: hmm, so in sites-available should be configured php file somehow?
peter__ 2017-01-28 02:46:28
Kk, will do
peter__ 2017-01-28 02:46:30
true
tomreyn 2017-01-28 02:47:50
Dworf: which ubuntu release, which php model (mod_php, fcgid, fpm, ...)?
Dworf 2017-01-28 02:48:09
16.04lts with php7
Dworf 2017-01-28 02:48:24
not sure about model
tomreyn 2017-01-28 02:48:28
Dworf: are all of these packages from ubuntu proper, or are you using PPAs / third party repositories?
Dworf 2017-01-28 02:48:35
yes
tomreyn 2017-01-28 02:48:52
to an "or" question, do not answer "yes" / "no"
Dworf 2017-01-28 02:48:57
i have installed letsencrypt ssl
Dworf 2017-01-28 02:49:10
sorry, its ubuntu proper :D
tomreyn 2017-01-28 02:49:26
which php packages have you installed?
Dworf 2017-01-28 02:49:51
is there easy way to find out?
tomreyn 2017-01-28 02:50:01
are you following some how-to (which?) or are you doing this on your own?
tomreyn 2017-01-28 02:50:24
dpkg -l '*php*' | grep ^i
Dworf 2017-01-28 02:50:59
i did, some lamp stack and then nextcloud and then letsencrypt, all worked good, but /html/ cant do php
Dworf 2017-01-28 02:51:20
well, there is quite list tomreyn
tomreyn 2017-01-28 02:51:34
!pastebin | Dworf
ubottu 2017-01-28 02:51:34
Dworf: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.
Dworf 2017-01-28 02:51:52
http://pastebin.com/xsnWPt0N
shibaloma 2017-01-28 02:52:00
!hd
shibaloma 2017-01-28 02:52:11
!s interstellar
peter__ 2017-01-28 02:52:32
its not popumlar it seems so, almost nobody home :(
tomreyn 2017-01-28 02:55:53
Dworf: packages ibapache2-mod-php and libapache2-mod-php7.0 suggest you are using mod_php
Dworf 2017-01-28 02:56:24
makes sense
tomreyn 2017-01-28 02:56:40
Dworf: does php not handle .php files in general (both via http and via https), or just via httpS? your initial statement was not clear on this.
Dworf 2017-01-28 02:57:03
well i have not enabled http
Dworf 2017-01-28 02:57:10
so all i can do is with https
Dworf 2017-01-28 02:57:29
but nextcloud is working fine
tomreyn 2017-01-28 02:57:31
Dworf: you mean you configured apache not to listen on the default http port?
Dworf 2017-01-28 02:57:49
its in /var/www/nextcould/ and then webpage is /var/www/html/
Dworf 2017-01-28 02:58:23
sites-available 000-default = empty
Dworf 2017-01-28 02:58:38
default-le-ssl has vhost inside
tomreyn 2017-01-28 02:59:12
nextcloud is a php application, unless i'm mistaken, and if 'this works' it means that some PHP files are processed by PHP.
Dworf 2017-01-28 02:59:18
yes it is
Dworf 2017-01-28 02:59:21
that right
tomreyn 2017-01-28 03:00:06
so the actual problem you are describing is that the php interpreter will handle .php files on some but not other virtualhosts? or in some but not other directories on the same virtualhost?
Dworf 2017-01-28 03:01:25
http://pastebin.com/qMaMH4gv
Dworf 2017-01-28 03:01:31
thats the vhost
Dworf 2017-01-28 03:02:02
i think nextcloud is using defaul ssl configuration or something
tomreyn 2017-01-28 03:08:51
Dworf: so this virtualhost lives in /var/www/html and you say that php files in "/html/" (not sure where this is since this looks like a relative path?) does "not work". you also say that the nextcloud webpage is in /var/www/html. i assume the 'nextcloud webpage' consists of PHP scripts?
tomreyn 2017-01-28 03:09:24
so without more details this seems contradictory.
Dworf 2017-01-28 03:09:30
no, nextcloud full dir is /var/www/nextcloud/
Dworf 2017-01-28 03:09:49
ment my webpage, not nextcloud
Dworf 2017-01-28 03:09:56
its in www/html/
tomreyn 2017-01-28 03:10:18
another relative path?
Dworf 2017-01-28 03:10:43
/var/www/nextcloud = full nextcloud dir with all the needed files
Dworf 2017-01-28 03:10:59
/var/www/html/ = full mysitedir with all the files inside
Dworf 2017-01-28 03:11:23
and yes, nextcloud is working fine, mysite wont
tomreyn 2017-01-28 03:12:28
so nextcloud is located at /var/www/nextcloud/ , accessed via an unknown virtualhost, and php files are interpreted by mod_php there. your own php web application is in /var/www/html/ and php files are not interpreted by mod_php there.
tomreyn 2017-01-28 03:12:42
correct?
Dworf 2017-01-28 03:13:13
yes i guess, dunno about "interpreted by mod_php" -thing tho
Dworf 2017-01-28 03:13:37
cause i havent done anything with mod_php
tomreyn 2017-01-28 03:14:05
you are doing something with mod_php right now, running the nextcloud php script files.
tomreyn 2017-01-28 03:14:13
great, now we're getting to a point where you almost provided all the necessary information to debug this issue.
Dworf 2017-01-28 03:14:19
yes but it works automatic so :D
Dworf 2017-01-28 03:14:43
well, that would be great if we get this thing work! :P
tomreyn 2017-01-28 03:15:09
now how is the /var/www/nextcloud/ directory handled by apache and mod_php? do you have a separate virtualhost configured for it?
Dworf 2017-01-28 03:15:24
yes
Dworf 2017-01-28 03:15:37
there is /etc/apache2/sites-available/nextcould.conf
tomreyn 2017-01-28 03:15:38
may i see it?
Dworf 2017-01-28 03:16:19
here u go
Dworf 2017-01-28 03:16:20
http://pastebin.com/X8bTH5p3
tomreyn 2017-01-28 03:18:13
Bob8989|3 Bob89893 Bob89895 that's a lot of you
Dworf 2017-01-28 03:18:28
:D lot of bobs
tomreyn 2017-01-28 03:20:17
Dworf: okay, so there is nothign about php in there. so the configuration which decides which php files will be ointerpreted by mod_php and which wont must be located either in /var/www/nextcloud/ (or below) in a .htaccess file, or in /etc/apache2/mods-enabled/*php*.conf (or some other place below /etc/apache2/ but that's a bit less likely now)
airking 2017-01-28 03:20:46
So I've downloaded a file with lynxs, and now I need to know eherr it dwnloaded to...
tomreyn 2017-01-28 03:20:55
look for it. unfortunately I don't remember what it's called exactly. it's probably something like "AddType .php php-script"
airking 2017-01-28 03:20:56
i cant seem to find it
tomreyn 2017-01-28 03:21:01
Dworf: ^
tomreyn 2017-01-28 03:21:13
airking: i wasn't talk to you there, sorry
Dworf 2017-01-28 03:21:21
there is php7.0.conf
Dworf 2017-01-28 03:21:27
at mods-enabled/
tomreyn 2017-01-28 03:21:54
Dworf: have you modified it?
airking 2017-01-28 03:21:56
tomreyn: youre fine.
Dworf 2017-01-28 03:21:59
no
tomreyn 2017-01-28 03:22:22
Dworf: do you still have the link for the installation guide you followed to setup nextcloud?
Dworf 2017-01-28 03:22:49
cant remember the guide anymore
Dworf 2017-01-28 03:23:05
i created that like a half year ago
Dworf 2017-01-28 03:23:15
havent needed the /html/ dir before
Dworf 2017-01-28 03:23:38
i did install wordpress and then unistalled it, but i think there was nothing to do with this
tomreyn 2017-01-28 03:27:50
Dworf: we could spend more time on this but it would be much easier for someone who actually got an apache2 webserver with mod_php on 16.04 around (and i don't) so it's not that easy for me to make an educated guess where the instructions is (and what it looks like) that makes apache pass handling of .php files stored in /var/www/netcloud/ to mod_php but not those stored in /var/www/html
Dworf 2017-01-28 03:28:13
okay :/
Dworf 2017-01-28 03:28:22
well i need to keep digging
tomreyn 2017-01-28 03:29:00
next time you look for help with debugging your apache2 configuration and PHP, please be prepared to provide most of the questions i asked on your own.
tomreyn 2017-01-28 03:29:16
it makes helping so much easier
Dworf 2017-01-28 03:29:27
ye ill try, im just kinda newbie with these :D
tomreyn 2017-01-28 03:30:02
yes that's fine, i noticed it's not because you don't want to, just that you coul dnot tell which information is needed.
tomreyn 2017-01-28 03:30:11
but now you know ;)
Dworf 2017-01-28 03:30:16
ye, but thanks!
Dworf 2017-01-28 03:30:21
hah :D
RedPenguin 2017-01-28 03:31:27
Hello all
t7 2017-01-28 03:31:49
hey, is there an easy way to use latest firefox stable on ubuntu 16.10
RedPenguin 2017-01-28 03:32:01
I am running 16.04LTS and even though my system a while back ran 14.04LTS just fine, there seems to be some lag I can't figure out since the last month or so's updates
RedPenguin 2017-01-28 03:32:24
I ran top, I see mysqld and mythtv using some CPU/RAM whicgh is normal
RedPenguin 2017-01-28 03:32:35
but when you open Chrome for example, the system really slows down
RedPenguin 2017-01-28 03:32:48
2.1GHZ Dual-Coore/6GB RAM
tomreyn 2017-01-28 03:32:56
Dworf: Use apache2 -S to output all of your virtualhost confgurations, this can be quite convenient in fact finding, too.
tomreyn 2017-01-28 03:34:02
RedPenguin: how old is that dual core?
tatertots 2017-01-28 03:34:06
RedPenguin: so you have some lag when using mythtv and browsing the internet at the same time with chrome?
RedPenguin 2017-01-28 03:36:51
It was given to me so I am not 100% sure the age but it's an Athlon 64 x2 4000+
RedPenguin 2017-01-28 03:37:13
tatertots: not only that but even if MythTV is entirely doing nothing, opening Kodi or using Chrome can by themselves can be rather sluggish
RedPenguin 2017-01-28 03:37:40
But until the past month or so it never acted this sluggish
ducasse 2017-01-28 03:37:59
!info firefox
ubottu 2017-01-28 03:38:00
firefox (source: firefox): Safe and easy web browser from Mozilla. In component main, is optional. Version 51.0.1+build2-0ubuntu0.16.10.1 (yakkety), package size 47156 kB, installed size 113291 kB
ducasse 2017-01-28 03:38:20
t7: ^^ that _is_ the latest stable.
t7 2017-01-28 03:38:37
50.1.0 != 51
t7 2017-01-28 03:38:48
am i wrong?
RedPenguin 2017-01-28 03:38:49
That reminds me, Firefox works mostly awesome but things go wonky when I try and use streaming video
ducasse 2017-01-28 03:39:18
t7: see above - 51.0.1
tatertots 2017-01-28 03:39:19
RedPenguin: sudo apt install inxi pastebinit
t7 2017-01-28 03:39:21
wait
RedPenguin 2017-01-28 03:39:51
done
tatertots 2017-01-28 03:40:24
RedPenguin: in terminal> inxi -Fxxrzc0|pastebinit
t7 2017-01-28 03:40:25
ducasse: sorry!
tatertots 2017-01-28 03:40:33
RedPenguin: press enter share url/link here
RedPenguin 2017-01-28 03:40:57
that's neat, an auto paster
RedPenguin 2017-01-28 03:41:12
http://paste.ubuntu.com/23880848/
ducasse 2017-01-28 03:41:14
t7: just run updates. if your mirror does not have it yet just wait a few hours.
tomreyn 2017-01-28 03:41:51
RedPenguin: i understand that it was less of an inssue in the past (on the same ubuntu version?). still, this CPU dates back to 2008, and is ~5% as powerful as the currently fastest intel desktop cpu.
tomreyn 2017-01-28 03:42:36
(10% of a current mid-range CPU)
RedPenguin 2017-01-28 03:43:18
I think the video card probably isn't helping me much, doesn't seem to have vpdau
RedPenguin 2017-01-28 03:43:30
I tried putting in a better card but the PC was having a hard time seeing it for some reason
tatertots 2017-01-28 03:44:04
RedPenguin: is the system local to you, or is it at a remote location?
RedPenguin 2017-01-28 03:44:17
local
tatertots 2017-01-28 03:44:49
RedPenguin: hmmm inxi suggests xserver isn't running or you ran the inxi command "out of x'
daniel97 2017-01-28 03:45:00
hi
tatertots 2017-01-28 03:45:05
RedPenguin: in terminal> xrandr|pastebinit