Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Lufi
Lufi
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Fiat Tux
  • Hat softwares
  • LufiLufi
  • Wiki
  • update

Last edited by Luc Didry Nov 04, 2018
Page history

update

Update

First: you may want to update Carton (do it, just for safety).

sudo apt install liblwp-protocol-https-perl
sudo cpan Carton

Updating Lufi is easy. Go to your Lufi installation directory and then:

git pull

See the installation page to choose the carton options:

carton install --deployment --without=test # plus database options
vimdiff lufi.conf lufi.conf.template

Add or delete the settings that have been added or deleted. Then, reload Lufi with (do it with the same user Lufi runs with):

carton exec hypnotoad script/lufi

Yup, that's all (Mojolicious magic).

Troubleshooting

Some commits had no author, so the author did a git rebase to change the author of those commits. Unfortunately, it prevents you to just do a simple git pull after the 24/08/2016. You have to do

git fetch
git reset --hard origin/master

to update and to be able to update normally in the future. Note that it will delete all that you modified. If you didn't change anything, you'll be ok.

Best way of dealing with this is to copy your lufi directory somewhere and test that update. You may want to create a new branch based on origin/master and cherry-pick your commits.

Sorry about this mess :-(


You can now go back to wiki's homepage.

Clone repository
  • Adding a robots.txt
  • Invitations when using LDAP
  • configuration
  • contribute
  • create a new theme
  • cron jobs
  • dependencies
  • Home
  • installation
  • update