Dashticz - how to update

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Dashticz - how to update

Post by desertdog »

Hi, I am currently on version 3.3.3.1 of Dashticz and I want to update to the latest version. In the documentation, I can find how to perform an Automatic or Manual install, but not how to update. Of course, I want everything to be working since I have spent hours, even days setting it up the way I want it.
What is the proper and (most) safe way to update?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz - how to update

Post by EdwinK »

Updating
Option 1 - From terminal you can add the following command in Dashticz folder:

git pull

Option 2 - Download zip file from GitHub, copy and extract in your Dashticz folder. Create backup of your custom folder(s) first.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Dashticz - how to update

Post by desertdog »

when executing the git pull I get the following error:

Code: Select all

Updating e67ca607..6bac9acf
error: Your local changes to the following files would be overwritten by merge:
	custom/custom.css
	custom/custom.js
Please commit your changes or stash them before you merge.
How do I do that?
willemd
Posts: 621
Joined: Saturday 21 September 2019 17:55
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: The Netherlands
Contact:

Re: Dashticz - how to update

Post by willemd »

log into your system, go to the custom folder and copy the files:
cp custom.css customcss.backup
cp custom.js customjs.backup

Once you have done the upgrade you can copy them back:
cp customcss.backup custom.css
cp customjs.backup custom.js
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Dashticz - how to update

Post by desertdog »

That worked like a charm. Thanks
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Dashticz - how to update

Post by desertdog »

I have updated Dashticz to the lastest version using the git pull method. I still get errors about Deprecated RType coming from Dashticz
I see on the Github: Previous repositories (dashticz/dashticz_v2 and dashticzv3/dashticz_v3) will not be updated anymore.
I am running V3. How do I update to a version that doesn't give the

2023-09-01 19:20:25.233 [WebServer] Deprecated RType (settings) for API request. Handled via fallback (getsettings), please use correct API Command! (192.168.1.106)
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - how to update

Post by HansieNL »

Are you using latest stable or beta version and what is exactly your version?
I advice you to try latest beta 3.10.7.
You can easily switch from stable to beta via terminal:

Code: Select all

git fetch origin
git checkout beta
Blah blah blah
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: Dashticz - how to update

Post by desertdog »

I Now updated to the v3.10.5-beta, but this gives me a Domoticz authorization error
I guess this has to do with the new authorization method. But where do I have to change things? Can't find any info in the readme about it
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - how to update

Post by HansieNL »

Try latest beta 3.10.7. This version should run without authorization errors.
https://github.com/Dashticz/dashticz/bl ... enotes.rst
https://github.com/Dashticz/dashticz/bl ... tion-error
Blah blah blah
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest