Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of js/config.js / fixed. Fixes first time installation with 1.5.1 #806

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

mcm1957
Copy link
Contributor

@mcm1957 mcm1957 commented Nov 26, 2023

When installing 1.5.1 (= version without license check) at a system without any prio vis installation, the installation crashes when trying to read js&config.js at

let data = await adapter.readFileAsync(adapterName, 'js/config.js');
as the file does not yet exist.

Version up to 1.4.16 create this file during license check as license data does not exist in the case of the first installation:
see

async function indicateError() {

Problem has been reported by issue #805

Solution implemented is to catch read error for non existing files.

Please check whether some other still needed information within js/config.js get lost due to removal of license checks.

@GermanBluefox GermanBluefox merged commit c0e0f88 into ioBroker:master Nov 28, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants