update error

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

update error

Post by JuanUil »

Hi there,

I want to update to the new version but i can not get over this:

git pull
Updating e729d55..372b8fe
error: Your local changes to the following files would be overwritten by merge:
css/creative.css
docs/blocks/domoticzblocks.rst
docs/releasenotes/releasenotes.rst
js/blocks.js
js/blocktypes.js
js/components/domoticzblock.js
js/components/group.js
js/dashticz.js
js/loader.js
js/switches.js
js/thermostat.js
package-lock.json
package.json
tpl/thermostat_block.tpl
version.txt
Please commit your changes or stash them before you merge.
Aborting
make: *** [Makefile:119: update] Fout 1

Help please
Jan
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
jvdz
Posts: 2333
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: update error

Post by jvdz »

You have made "local" changes to the github repository, so you need to tell github what to do with those changes.
Do you remember why you have done them and what you changed?
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
User avatar
gizmocuz
Posts: 2552
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: update error

Post by gizmocuz »

If you are uncertain, you can always issue this command before updating the sources (you will loose all changes)

git reset --hard origin/development

Assuming you are on the development branch

If you are a regular user, I wont advise compiling/running from source
Quality outlives Quantity!
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: update error

Post by JuanUil »

I don't remember making any changes.
When I do:
git reset --hard origin/development
fatal: ambiguous argument 'origin/development': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
User avatar
waltervl
Posts: 5900
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: update error

Post by waltervl »

I think gizmocuz thought it was a Domoticz source files issue and not a Dashticz issue.
I think you should do the following for Dashticz to get over this issue:

Code: Select all

git reset --hard
git pull --force
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
JuanUil
Posts: 500
Joined: Friday 22 May 2015 12:21
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11083
Location: Asten NB Nederland
Contact:

Re: update error

Post by JuanUil »

Thnx very much, that did the trick
Your mind is like a parachute,
It only works when it is opened!

RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest