#known 2019-04-08

2019-04-08 UTC
chrisaldrich, [jgmac1106], [eddie], [audioundergroun, [tantek], ketudb[m], [kenbauer], [kim_landwehr] and rMdes joined the channel
#
rMdes
anyone around ?
#
rMdes
I just upgraded using git pull
#
rMdes
and I'm getting this : Could not find autoload.php, did you run "composer install" ..?
[kenbauer] joined the channel
#
[kenbauer]
So you need to go to the command line to your server install and change to the base directory of your known install.
#
[kenbauer]
Then execute two commands. The first time it is:
#
[kenbauer]
"composer install"
#
[kenbauer]
Then afterwards on any updates with "git pull", you will need to do a
#
[kenbauer]
"composer update"
[jgmac1106] joined the channel
#
[jgmac1106]
[kenbauer] I need to record those two steps for tutorial may ping you later in the week
rMdes joined the channel
#
rMdes
there is no composer command available
#
rMdes
problem is I'm on shared hosting at dreamhost
#
rMdes
How do I move from a github Known install to a non-github one where I would never need to do composer commands ?
[kenbauer] joined the channel
#
[kenbauer]
With no shell access tricky. Perhaps about to download your directory to a local machine then run that locally and then upload back to Dreamhost?
[grantcodes] and [dougbeal] joined the channel
#
aaronpk
you do get shell access on shared dreamhost
#
aaronpk
oh, but composer won't work
[jz] joined the channel
#
[jgmac1106]
does dreamhost give you terminal access in their custom panel?
#
aaronpk
you have to enable ssh access for the user account and then you can ssh in to the machine
#
aaronpk
enabling it is done in their panel but then you just use regular ssh
#
aaronpk
i do this all the time to move files around and back things up
#
rMdes
I have shell access
#
rMdes
what dremahost does not provide for shared hosting is composer in the CLI
#
aaronpk
you can always run `composer install` on a development copy and then copy the whole vendor folder
#
rMdes
I always used shell access to git pull (that's how i got the last update)
#
ketudb[m]
surely if you have shell access you can just copy `composer` in?
#
rMdes
@aaronpk : that may be my only solution OR reverting back
#
rMdes
but that's not solution in the long run
#
rMdes
what do you mean by copying composer in ?
#
aaronpk
https://help.dreamhost.com/hc/en-us/articles/214899037-Installing-Composer-overview "ou must use a VPS in order to run Composer due to the amount of resources it requires."
#
rMdes
that's what I was reading
#
rMdes
bad news
#
aaronpk
i suppose you _could_ try it, never know
[kevinmarks] joined the channel
#
rMdes
does this mean that Known can only run on VPS from now on ?
#
rMdes
I guess I'm moving to WP :/
#
ketudb[m]
It seems to be you could just upload the `composer.phar` file and run it with `php composer.phar install`? Unless they're somehow actively blocking it on shared hosting.
#
ketudb[m]
seems to me*
#
rMdes
thanks a lot for this procedure, I will try it tomorrow, with PHP7
travis-ci joined the channel
#
travis-ci
idno/known#5198 (master - 1a4111d : Marcus Povey): The build passed.
travis-ci left the channel
[jgmac1106], [eddie], Johan1, velcrovan, chrisaldrich, [kenbauer] and [tantek] joined the channel