Comments (14)
So I see!
In Alpine setting manually the timezone is obsolete (https://wiki.alpinelinux.org/wiki/Setting_the_timezone) and the recommended way is to use the setup-timezone script (https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts#setup-timezone)
I think this is the culprit, and it does not update the repository cache.
I will look into a way to override this or manually install it.
from docker_base_images.
On start, the container installs tzdata and sets up the timezone. I think the problem here is internet connectivity. I see a "temporary error (try again later)" which means that the packages were not downloaded, so the zoneinfo is missing. Make sure that the container has access to internet.
However, thanks for bringing this up, because I think I should change this in a future release, and not rely on internet for the container to start.
from docker_base_images.
Ошибка никуда не ушла. Все работает на версии 0.5.0, но начиная с последующих версий dlna не стартует (постоянно перезагружается сам):
usermod: no changes,
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later),
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later),
cp: can't stat '/usr/share/zoneinfo/UTC': No such file or directory,
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.,
minidlna.c:395: warn: Creating new database at /minidlna/cache/files.db,
minidlna.c:1193: warn: HTTP listening on port 8200,
playlist.c:135: warn: Parsing playlists...,
playlist.c:269: warn: Finished parsing playlists.,
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [4] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.,
usermod: no changes,
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later),
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later),
cp: can't stat '/usr/share/zoneinfo/UTC': No such file or directory,
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.,
minidlna.c:1193: warn: HTTP listening on port 8200,
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [4] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.,
usermod: no changes,
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later),
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later),
cp: can't stat '/usr/share/zoneinfo/UTC': No such file or directory,
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.,
minidlna.c:1193: warn: HTTP listening on port 8200,
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [4] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.,
usermod: no changes,
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later),
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later),
cp: can't stat '/usr/share/zoneinfo/UTC': No such file or directory,
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.,
minidlna.c:1193: warn: HTTP listening on port 8200,
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [4] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.,
usermod: no changes,
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later),
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later),
cp: can't stat '/usr/share/zoneinfo/UTC': No such file or directory,
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.,
minidlna.c:1193: warn: HTTP listening on port 8200,
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [4] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.,
usermod: no changes,
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later),
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later),
cp: can't stat '/usr/share/zoneinfo/UTC': No such file or directory,
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.,
minidlna.c:1193: warn: HTTP listening on port 8200,
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [4] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.,
from docker_base_images.
Does the container have access to the internet? And are you still using the TZ environment variable? If you do, then it requires the internet.
from docker_base_images.
Does the container have access to the internet? And are you still using the TZ environment variable? If you do, then it requires the internet.
I do not restrict Internet access to the content (Network = host)
The only thing I change is the build parameter. With 0.5.0 the image is started, and with the latest - no.
from docker_base_images.
I collected again, explicitly indicating TZ:
Something prevents it from starting. I see 2 problems: Time zone and lack of communication with the alpin server.
Version 0.5.0 does not have these problems.
The time zone Moscow is on my server (screenshot in the topic)
from docker_base_images.
Can you ping the servers?
ping dl-cdn.alpinelinux.org
from docker_base_images.
ping dl-cdn.alpinelinux.org
There is an Internet connection, this is not the source of the problem = (
from docker_base_images.
I gave tested and retested this in every scenario I could imagine, but I was unable to recreate your issue. The script works as intended, and it changes the timezone without a problem. I can only suggest you cleanup/prune your images and make sure you have the latest one.
I also don't understand why you have that PATH environment variable, because that is already declared. I don't see very clearly but maybe there is a typo there, in the formatting.
from docker_base_images.
I gave tested and retested this in every scenario I could imagine, but I was unable to recreate your issue. The script works as intended, and it changes the timezone without a problem. I can only suggest you cleanup/prune your images and make sure you have the latest one. I also don't understand why you have that PATH environment variable, because that is already declared. I don't see very clearly but maybe there is a typo there, in the formatting.
The latest version doesn't throw a timezone error, but it doesn't work for me.
=== Set user and group identifier
usermod: no changes
=== Set standard configuration
=== Set configuration from environment variables
=== Set permissions
=== Generate scan/rebuild flags
=== Start daemon
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.
minidlna.c:395: warn: Creating new database at /minidlna/cache/files.db
scanner.c:731: warn: Scanning /mnt
minidlna.c:1193: warn: HTTP listening on port 8200
scanner.c:820: warn: Scanning /mnt finished (0 files)!
playlist.c:135: warn: Parsing playlists...
playlist.c:269: warn: Finished parsing playlists.
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [7] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
=== Set user and group identifier
usermod: no changes
=== Set standard configuration
=== Set configuration from environment variables
=== Set permissions
=== Generate scan/rebuild flags
=== Start daemon
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.
minidlna.c:1193: warn: HTTP listening on port 8200
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [7] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
upnphttp.c:1250: error: send(res_buf): Connection reset by peer
upnphttp.c:1250: error: send(res_buf): Connection reset by peer
=== Set user and group identifier
usermod: no changes
=== Set standard configuration
=== Set configuration from environment variables
=== Set permissions
=== Generate scan/rebuild flags
=== Start daemon
minidlna.c:1124: warn: Starting MiniDLNA version 1.3.0.
minidlna.c:1193: warn: HTTP listening on port 8200
monitor.c:222: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [7] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
upnphttp.c:1250: error: send(res_buf): Connection reset by peer
upnphttp.c:1250: error: send(res_buf): Connection reset by peer
I can see the DLNA icon, but I can't log in.
from docker_base_images.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
from docker_base_images.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Problem is actual!
from docker_base_images.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
from docker_base_images.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
from docker_base_images.
Related Issues (20)
- [minidlna] [feature request] Add UID and GID HOT 1
- Latest docker image for minidlna does not seem to start HOT 4
- How to set translation HOT 4
- Latest image won't start (/etc/group.8: Permission denied) HOT 2
- [minidlna] How to make miniDLNA work remotely over ZeroTier? HOT 2
- [minidlna] Please bump version to 1.3.0 HOT 6
- [minidlna] /minidlna/cache/files.db on persistent volume HOT 9
- [minidlna] support timezone
- [minidlna] MiniDLNA not showing me any playlists HOT 7
- Dependency Dashboard
- Adding inotify to entrypoint.sh HOT 1
- MiniDLNA: File Permissions HOT 2
- MiniDLNA root_container HOT 3
- [MiniDLNA+podman] Health check always fails HOT 5
- Action Required: Fix Renovate Configuration
- [minidlna] BrowseContentDirectory Returning UPnPError 402 - Invalid Args HOT 1
- Healthcheck don't pass when minidlna tcp port is changed. HOT 8
- s3Sync container can't exclude certain files/directories. HOT 2
- Failed to set TZ, due to tzdata missing from image HOT 9
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 docker_base_images.