Comments (2)
Using docker logs fhem_slave
I received the following output:
Preparing configuration ... done
Starting FHEM ...
Can't open ./log/fhem-2019-05.log: No such file or directory at fhem.pl line 2763.
Unable to start FHEM process - errorcode 2
Preparing user environment ...
1. Creating group 'fhem' with GID 6061 ...
2. Enforcing GID for group 'bluetooth' to 6001 ...
3. Creating user 'fhem' with UID 6061 ...
4. Enforcing user and group ownership for /opt/fhem to fhem:fhem ...
5. Correcting group ownership for /dev/tty* ...
6. Found GPIO: Correcting group permissions in /dev and /sys to 'gpio' with GID 6002 ...
7. Found I2C: Correcting group permissions in /dev to 'i2c' with GID 6003 ...
8. Updating /etc/sudoers.d/fhem-docker ...
9. Adding gateway.docker.internal to /etc/hosts ...
10. Adding host.docker.internal to /etc/hosts ...
11. Pre-authorizing SSH to Docker host for user 'fhem' ...
12. Updating SSH key pinning and SSH client permissions for user 'fhem' ...
The problem is that I don't have ./log/ due to the fact that it hasn't been pushed to my online repo because it will be ignored via .gitignore
.
Can you please check if you can replicate that issue? It probably may make sense to not ignore the log folder via .gitignore
. What do you think?
from fhem-docker.
You shall keep ./log/ as an empty directory by creating a file ./log/.gitkeep and only exclude all other files in ./log/ in your .gitignore file. This will ensure that FHEM's default directory structure is properly kept.
Nevertheless I have put a line into entry.sh as part of 324022a to re-create that directory. It is still a hack as you normally want to be able to restore FHEM also outside of Docker.
As a general rule, make sure the directory basic structure from https://svn.fhem.de/trac/browser/trunk/fhem/ is always there.
from fhem-docker.
Related Issues (20)
- Dependency Dashboard
- Jabber module does not work HOT 18
- FHEM is killed if delayed shutdown is in progress
- Empty new lines written to docker log file HOT 7
- Rewrite of entry.sh / question on contributing HOT 3
- Update nodejsVersion to >18.x or higher for support of npm >10.x HOT 7
- avahi-daemon not startable HOT 5
- Memory leak with Perl 5.32 HOT 5
- Action Required: Fix Renovate Configuration
- No credits on Travis CI for build job HOT 3
- CUL_HM version with bugs HOT 1
- Endless loop
- Absolute pidfile path isn't compatible
- Connection refused from 127.0.0.1:50562 HOT 4
- Jabber is broken for certain servers (e.g. jabber.de) HOT 5
- Pyhten Link fehlt HOT 6
- Bullseye image auf docker hub HOT 2
- LC_MESSAGES=en_DK.UTF-8? Why? HOT 2
- Compatible path between docker hub and ghcr.io
- Update nodejs to latest lts 18.x HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhem-docker.