1
5
Fork
You've already forked devops
3

Composer was not installed on ubuntu 20.04 #28

Closed
opened 2020年10月01日 22:31:26 +02:00 by T100D · 1 comment
T100D commented 2020年10月01日 22:31:26 +02:00 (Migrated from github.com)
Copy link

Hi all,

I recently installed BookStack 0.30.0 on a fresh ubuntu 20.04 desktop environment with the script
mentioned on the site and present here in this branch.

When updating to 0.30.02 with command:
sudo git pull origin release && composer install --no-dev && php artisan migrate
composer did not appeared to be installed, while installation is present in the installation script.

It could be installed directly with sudo apt install composer (Version 1.10.1 shall be installed)

This looks like the installation script could be changed.

Second on updating, it might be okay to mention sudo in front of the updating commands to overcome possible faults in updating BookStack.

Hi all, I recently installed BookStack 0.30.0 on a fresh ubuntu 20.04 desktop environment with the script mentioned on the site and present here in this branch. When updating to 0.30.02 with command: `sudo git pull origin release && composer install --no-dev && php artisan migrate` composer did not appeared to be installed, while installation is present in the installation script. It could be installed directly with `sudo apt install composer` (Version 1.10.1 shall be installed) This looks like the installation script could be changed. Second on updating, it might be okay to mention sudo in front of the updating commands to overcome possible faults in updating BookStack.
ssddanbrown commented 2021年09月25日 22:51:45 +02:00 (Migrated from github.com)
Copy link

Thanks for reporting @T100D.

I've now updated the Ubuntu20.04 install script to install composer globally.
Composer was installed before bust just local as composer.phar within the bookstack install folder.
I'd recommend not using the apt install version of composer since it quickly gets out of date.

I'll think about how to mention the update commands, The sudo element won't be applicable nor recommended for all set-ups so will think about how to display that.

Thanks for reporting @T100D. I've now updated the Ubuntu20.04 install script to install composer globally. Composer was installed before bust just local as `composer.phar` within the bookstack install folder. I'd recommend not using the `apt install` version of composer since it quickly gets out of date. I'll think about how to mention the update commands, The `sudo` element won't be applicable nor recommended for all set-ups so will think about how to display that.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bookstack/devops#28
Reference in a new issue
bookstack/devops
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?