Hello,
Is it possible to upgrade domoticz using "git pull" and "make" if I first installed domoticz by: "curl -L https://install.domoticz.com | sudo bash".
on my raspberry pi?
If I try this (after I made a backup) I get an error message: "fatal: Not a git repository (or any of the parent directories): .git".
Is there a way to go to git?
update by git on curl'ed installation
Moderator: leecollings
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
update by git on curl'ed installation
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: update by git on curl'ed installation
No this not possible. git pull is used to get your local repository up to date with the latest version. But if you only installed domoticz you don't have a repository. In fact you don't have source files at all. Start with checking out a repository. git command to do that is clone.AllesVanZelf wrote: ↑Wednesday 16 January 2019 15:24 Hello,
Is it possible to upgrade domoticz using "git pull" and "make" if I first installed domoticz by: "curl -L https://install.domoticz.com | sudo bash".
on my raspberry pi?
gitIs there a way to go to git?
I recommend to read this and this before continuing
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: update by git on curl'ed installation
So, the best option would be to make a new install using git.
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: update by git on curl'ed installation
No. An installed domoticz environment is something different than a development environment.AllesVanZelf wrote: ↑Thursday 17 January 2019 11:42 So, the best option would be to make a new install using git.
Leave your domoticz installation where it is and create a new directory (preferable on a different PI) where you create your repository using git clone to develop and/or make.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 265
- Joined: Monday 05 February 2018 8:42
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12467
- Location: Netherlands, near Haarlem
- Contact:
Re: update by git on curl'ed installation
Building from source isn't the same as building for development purposes in my opinion. Is that what you meant?
I'm working with linux for a lot of years now, and building from source gives you the opportunity to build the software as you want and independent from package builders choices.
Is domoticz from git repository different?
I'm working with linux for a lot of years now, and building from source gives you the opportunity to build the software as you want and independent from package builders choices.
Is domoticz from git repository different?
Domoticz 2020.1 (12230) on Raspberry Pi 3B with Raspian Buster. Besides Domoticz, Rpi is running Pi-Hole.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: update by git on curl'ed installation
As far as I see it the environment for building from source is equal to the development environment.AllesVanZelf wrote: ↑Thursday 17 January 2019 16:18 Building from source isn't the same as building for development purposes in my opinion. Is that what you meant?
I'm working with linux for a lot of years now, and building from source gives you the opportunity to build the software as you want and independent from package builders choices.
Is domoticz from git repository different?
When you do not change anything in that environment you just build from source and if you want to change anything to one or more of sources and then build you are developing. For both scenarios you start with getting the sources and makefiles. For domoticz you will find them at https://github.com/domoticz/domoticz.git and you get them using git clone
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Who is online
Users browsing this forum: No registered users and 1 guest