mysociety / alaveteli

Provide a Freedom of Information request system for your jurisdiction
https://alaveteli.org
Other
389 stars 196 forks source link

install-site.sh breaks for Alaveteli while copying storage.yml-example #7463

Closed gavinrozzi closed 1 year ago

gavinrozzi commented 1 year ago

Hi all. Trying to install Alaveteli using the install-site.sh script from this repo on Ubuntu 22.04. When I follow the steps to run the script, I receive the following message:

+ cp config/storage.yml-example cp: missing destination file operand after 'config/storage.yml-example' Try 'cp --help' for more information.

garethrees commented 1 year ago

https://github.com/mysociety/alaveteli/blob/152d22a2fae7fc3cc10b1ad17453ff710f49d289/script/install-as-user#L198-L199

Looks like a typo:

- cp config/storage.yml-example > config/storage.yml
+ cp config/storage.yml-example config/storage.yml
garethrees commented 1 year ago

Looks like a typo:

Was fixed in https://github.com/mysociety/alaveteli/commit/2f286016c9b7bf6b1ffe03ec875ab07551ce18f9 via #7153 but not yet made it into a release. You should be able to manually edit script/install-as-user to include this change and get the script to run.

gavinrozzi commented 1 year ago

Thanks Gareth! Will give it a try.

On Mon, Dec 12, 2022 at 9:32 AM, Gareth Rees @.***> wrote:

Looks like a typo:

Was fixed in 2f28601 via #7153 but not yet made it into a release. You should be able to manually edit script/install-as-user to include this change and get the script to run.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>