PHOENIXCONTACT / PHOENIXCONTACT/Application-Developer-Training

post-setup command not working

Open
#10 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
9
Forks
6
Avg merge
6d 3h
Merged PRs (30d)
1

Description

Describe the bug
Executing the post-setup command in the first chapter results in errors in the application log, and does not create the databases.

To Reproduce

  1. Follow the first chapter up to the post-setup command and execute it
    The command finishes without issue
$ moryx exec post-setup
Created databases and restarted modules.

but the logs show errors from the module restart, no feedback on the command directly though
Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'.

Expected behavior
As promised in the ADP, i expect the databases to be created and the modules to restart afterwards

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the first chapter's moryx exec post-setup command and inspect the application logs from the module restart. Reproduce the SQLite Error 14, then trace why the databases are not created; done means the command creates the databases, restarts the modules, and reports no related errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
sqlite
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.