[Support] ich777 - Application Dockers


ich777

1106 posts in this topic Last Reply

Recommended Posts

I'm sooo sorry! I thought the screenshot provide would've given you that data. Maybe it didn't properly post.

Anyways, I installed with:

mkdir /home/geek_diruendis/firefox

docker run --name Firefox -d \
    -p 8080:8080 \
    --env 'FIREFOX_V=latest' \
    --env 'FIREFOX_LANG=en-US' \
    --env 'CUSTOM_RES_W=1280' \
    --env 'CUSTOM_RES_H=768' \
    --env 'UID=99' \
    --env 'GID=100' \
    --env 'UMASK=000' \
    --env 'DATA_PERM=770' \
    --volume /home/geek_diruendis/firefox:/firefox \
    ich777/firefox

 

(i've also tried swapping UID & GID for PUID & PGID to both = 1000, because I've found my other containers work better with that in the past.)

 

Then, I opened the FireFox-specific container's terminal (via from the web interface), then typed and got the following:

root@c7a6e9c08385:/# su $USER
firefox@c7a6e9c08385:/$ vncpasswd
bash: vncpasswd: command not found
firefox@c7a6e9c08385:/$ exit
exit
root@c7a6e9c08385:/# vncpasswd
bash: vncpasswd: command not found
root@c7a6e9c08385:/#

 

Link to post
  • Replies 1.1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

In all my templates (at least in the ones that I don't forget to set it... ) the settings are never automatically changed and everything is up to the user...   Eventually because the temp

For the PhotoPrism docker you should add in options for using mysql isntead of sqlite since the built in sqlite is horrible with performance and getting itself "locked" causing issues.   Her

Dockers Available so far:   DirSyncPro: very strong synchronization tool that's highly customizable and schedulable (Docker comes with WebGUI, SMB, FTP & WebDAV support and with encry

Posted Images

48 minutes ago, geek_diruendis said:

Maybe it didn't properly post.

Oh I can't open the link... Eventually my PiHole is blocking it.

 

48 minutes ago, geek_diruendis said:

i've also tried swapping UID & GID for PUID & PGID to both = 1000, because I've found my other containers work better with that in the past

Oh, from what I've see you don't run this on Unraid? But this is a x86_64 platfoem? Also PUID & PGID work with my container, you have to use UID=1000 and GID=1000 if you want to apply this properly.

Link to post
45 minutes ago, geek_diruendis said:

Snap. That may be the problem. it's aarch64. Sorry to waste your time.

Not a waste in any way... :)

I now depricated the ARM versions from my containers because they are not much downloaded and not worth my time to maintain them... :/

Link to post
Posted (edited)
On 5/3/2021 at 11:43 AM, REllU said:

 

Just leaving a comment here, in hopes of getting notified once this gets fixed! :)

 

Any updates on this? (The Cron issue with LuckyBackup)

Remembering to backup the server daily (and showing the last person leaving how it's done) is getting a bit tiring :D

 

Oh also, swapping from Unassigned Devices to direct SSH connection made the backup go a _lot_ faster! (With UD, incremental backup was around 40-50 minutes, up to 10 hours. Now, 10 - 20 minutes! So thanks on that!)

Edited by REllU
Link to post
2 hours ago, REllU said:

Any updates on this? (The Cron issue with LuckyBackup)

Sadly enough no...

Gave up after a few failed attempts, but this is still on my To-Do list... :)

Link to post

Having an issue getting the Zabbix server running. It seems to populate data into the server but it complains about user table being empty and shuts down. Any ideas?

** Preparing Zabbix server
** Using MYSQL_USER variable from ENV
** Using MYSQL_PASSWORD variable from ENV
********************
* DB_SERVER_HOST: 192.168.0.50
* DB_SERVER_PORT: 3306
* DB_SERVER_DBNAME: zabbix
********************
** Database 'zabbix' already exists. Please be careful with database COLLATE!
** Creating 'zabbix' schema in MySQL
ERROR 1366 (22007) at line 6289: Incorrect string value: '\xE2\x84\x83' for column `zabbix`.`items`.`units` at row 1
** Preparing Zabbix server configuration file
** Updating '/etc/zabbix/zabbix_server.conf' parameter "ListenIP": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "ListenPort": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SourceIP": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogType": 'console'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogFileSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "PidFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DebugLevel": '3'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBHost": '192.168.0.50'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBName": 'zabbix'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBSchema": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBPort": '3306'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "VaultDBPath": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "VaultURL": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBUser": 'zabbix'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBPassword": '****'. Enable DEBUG_MODE to view value ...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartReportWriters": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "WebServiceURL": 'http://zabbix-web-service:10053/report'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryStorageURL": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryStorageTypes": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryStorageDateIndex": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "DBSocket": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StatsAllowedIP": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPollers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartIPMIPollers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPollersUnreachable": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartTrappers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPingers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartDiscoverers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartHistoryPollers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartHTTPPollers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartPreprocessors": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartTimers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartEscalators": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartAlerters": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartTimers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartEscalators": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartLLDProcessors": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "JavaGateway": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "JavaGatewayPort": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartJavaPollers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartVMwareCollectors": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwareFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwarePerfFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwareCacheSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "VMwareTimeout": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SNMPTrapperFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartSNMPTrapper": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "HousekeepingFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "MaxHousekeeperDelete": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SenderFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "CacheSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "CacheUpdateFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartDBSyncers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryCacheSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "HistoryIndexCacheSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TrendCacheSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "ValueCacheSize": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "Timeout": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TrapperTimeout": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "UnreachablePeriod": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "UnavailableDelay": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "UnreachableDelay": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "AlertScriptsPath": '/usr/lib/zabbix/alertscripts'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "ExternalScripts": '/usr/lib/zabbix/externalscripts'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "FpingLocation": '/usr/sbin/fping'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "Fping6Location": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSHKeyLocation": '/var/lib/zabbix/ssh_keys'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "LogSlowQueries": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "StartProxyPollers": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "ProxyConfigFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "ProxyDataFrequency": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSLCertLocation": '/var/lib/zabbix/ssl/certs/'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSLKeyLocation": '/var/lib/zabbix/ssl/keys/'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "SSLCALocation": '/var/lib/zabbix/ssl/ssl_ca/'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "LoadModulePath": '/var/lib/zabbix/modules/'...updated
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCAFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCRLFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCertFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCipherAll": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCipherAll13": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCipherCert": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCipherCert13": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCipherPSK": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSCipherPSK13": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSKeyFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSPSKIdentity": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "TLSPSKFile": ''...removed
** Updating '/etc/zabbix/zabbix_server.conf' parameter "User": 'zabbix'...updated
Starting Zabbix Server. Zabbix 5.4.0 (revision 5059e20).
Press Ctrl+C to exit.

7:20210524:111828.598 Starting Zabbix Server. Zabbix 5.4.0 (revision 5059e20).
7:20210524:111828.598 ****** Enabled features ******
7:20210524:111828.598 SNMP monitoring: YES
7:20210524:111828.598 IPMI monitoring: YES
7:20210524:111828.598 Web monitoring: YES
7:20210524:111828.598 VMware monitoring: YES
7:20210524:111828.598 SMTP authentication: YES
7:20210524:111828.598 ODBC: YES
7:20210524:111828.598 SSH support: YES
7:20210524:111828.598 IPv6 support: YES
7:20210524:111828.598 TLS support: YES
7:20210524:111828.598 ******************************
7:20210524:111828.598 using configuration file: /etc/zabbix/zabbix_server.conf
7:20210524:111828.600 cannot use database "zabbix": its "users" table is empty (is this the Zabbix proxy database?)

 

Link to post
1 hour ago, mkono87 said:

Having an issue getting the Zabbix server running.

What have you done exactly, seems like there is some problem with creating the database, have you created the database Zabbix?

Is the Zabbix database and Zabbix Server in the same subnet and also in the same network mode?

Start at Step 3: Click

Link to post
Posted (edited)
32 minutes ago, ich777 said:

What have you done exactly, seems like there is some problem with creating the database, have you created the database Zabbix?

Is the Zabbix database and Zabbix Server in the same subnet and also in the same network mode?

Start at Step 3: Click

Yes I created the database and db user through myphpadmin. I just kept it all "zabbix" for now. My mariadb is in bridge and running well. The Zabbix server and webfront is using the br0 static ip option. (is this required?) I had issues at first with the server not even seeding maria DB but after searching through this thread I did the host option I had to enable in docker settings and now does see it.

 

Edit: Okay so I think I figured it out. The database character set was set to  some latin one so I changed it to utf8 collate utf8_bin after recreating it. Got the login page now. Well see how this goes.

 

 

Edited by mkono87
Link to post
5 hours ago, drkelly@bellsouth.net said:

Hi, I've just started using DirSyncPro and it's working but every file shows Warning: I/O error: could not copy. The files are actually copied but the file stamp isn't the same as the original file, so every time it syncs the files get copied again.

 

Any Ideas?

On what type of media do you copy the files on?

NTFS?

Link to post
1 hour ago, drkelly@bellsouth.net said:

Uggg. I was hoping to be able to use NTFS just for the peace of mind knowing that I can pull it out and access it with my main window machine if UnRaid takes a dump.

The problem is that the Windows NTFS filesystem handles the timestamps completely different...

 

There are also tools out there that can read Linux filesystems from Windows.

 

Probably the better way is to use a Linux formatted disk since if you eject the NTFS disk from within Windows the wrong way Linux can have some problems mounting it (at least from my experience) and also NTFS can cause much overhead and is usually slower than a native Linux filesystem when you copy something over from Unraid.

Link to post

Hello,

i just installed the Debian Bullseye Container.

What i try to do is, install new Software, for example "Handbrake". But i cant find a way to install new software.

Is it not possible in the container?

Link to post
25 minutes ago, Commerzpunk said:

What i try to do is, install new Software, for example "Handbrake". But i cant find a way to install new software.

Please keep in mind I would strongly recommend doing this by adding a user.sh script to the container that you mount from Unraid to the container since if a update is released or you change something the container will be reset and the application is uninstalled (your settings will persist but the software will be removed).

 

If you want to install something manually open up a terminal and enter:

  1. su (to become root)
  2. YOUR_ROOT_PW and press ENTER (please note that no keyboard output will be displayed while entering the password)
  3. apt update (to update the repositories)
  4. apt install -y handbrake (to install Handbrake)

 

Here is a example to do it with user.sh (so that the container actually checks if handbrake is installed on every start):

 

Link to post
9 minutes ago, ZelleAP said:

I tesing currently the chromium docker, is it possible to install RealVNC Connect in the container instead of noVNC?

What is the advantage of RealVNC connect over TigerVNC?

 

You can directly connect to the containers VNC server when you create another port in the the template with the container port 5900 and host port whatever do you want like so:

grafik.thumb.png.c2b747e96dfad1ecab299c1a4859c6d3.png

 

Then you can connect to the container with YOURUNRAIDIP:5900

Link to post

Hi ich777,  the main reason is that Real VNC supports audio. Unfortunately, I don't know how to install another VNC server in your Docker container. Could you help me a bit or give me a tip?

 

Best regards

Alex

Link to post
25 minutes ago, ZelleAP said:

Hi ich777,  the main reason is that Real VNC supports audio. Unfortunately, I don't know how to install another VNC server in your Docker container. Could you help me a bit or give me a tip?

This would require a complete rewrite of the container.

You can look at the source code of the Chromium container and also how to install RealVNC Server on Linux.

 

The container simply wasn't designed to have sound and also would need other dependencies that are simply not installed.

Eventually look out on Dockerhub if someone created a container with RealVNC and Chromium.

Link to post

Has anyone seen issues with PhotoPrism (running MariaDB) processing pictures (especially RAW ones), adding them to the library, but then showing a broken image icon instead? If I download either the .jpeg or the original RAW the image looks fine, it just seems like PhotoPrism isn't displaying them correctly. I've reached out to the dev team and they seem to think it's a permissions issue. I'm running UID/GID of 99:100...

Link to post
2 hours ago, polishprocessors said:

Has anyone seen issues with PhotoPrism (running MariaDB) processing pictures (especially RAW ones), adding them to the library, but then showing a broken image icon instead? If I download either the .jpeg or the original RAW the image looks fine, it just seems like PhotoPrism isn't displaying them correctly. I've reached out to the dev team and they seem to think it's a permissions issue. I'm running UID/GID of 99:100...

Can you give me the link to the Github issue or did you contact them on Discord?

Link to post

Reached out via chat and they pointed me here: https://github.com/photoprism/photoprism/issues/411

 

It *was* working, at least in large part, but seems to have taken a turn for the worse. At startup it often took ages (10+ minutes) to load, and the team said that was because it was running usermod, at which point they recommended I set PHOTOPRISM_DISABLE_CHOWN = true, which did speed up the start of the program but may have started some of my issues, though I'm not sure. I've completely removed PP, dropped the table in MariaDB, and deleted the storage path and reinstalled it, but had the same issue, primarily with .jpeg files working fine but some (though not all) RAW files not displaying. They're quite convinced it's a permissions issue and suggested I try changing the user it runs as, but given it *was* working on your defaults (plus a manual MariaDB config) I'm inclined to believe it's not the user itself...

Link to post

To be specific (and I’m also chatting with the devs) I’ve done the following: started from scratch, ran the purge script, deleted the docker, dropped the database, and re-installed from the start (in Unraid) and it looks like the final verdict is: all RAW files of mine (from two separate cameras) appear to be broken. PP appears to process it, save it as a .jpeg, and stack it with the original, but then doesn’t display it. I see nothing obvious that should be blocking my permissions and the files themselves, if I ‘Download’ them from PP, look fine, so I’m guessing it’s a thumbnail issue? Errors in the logs when indexing completes but before I view anything are mostly:
time="2021-06-07T00:34:44+02:00" level=error msg="location: record not found (find cell s2:14cab798d68c)"
time="2021-06-07T00:34:45+02:00" level=error msg="location: Error 1366: Incorrect string value: '\xC5\x9Fikta...' for column photoprism.places.place_city at row 1 (create place s2:14cab7b3667c)"
time="2021-06-07T00:34:45+02:00" level=error msg="location: Error 1366: Incorrect string value: '\xC4\x9F\xC4\xB1' for column photoprism.cells.cell_name at row 1 (create cell s2:14cab7b3667c)"
But once I pull up PP and try to browse any RAW files I see the following errors in the logs:
time="2021-06-07T01:54:24+02:00" level=error msg="thumbs: thumbnail not cached"
time="2021-06-07T01:54:24+02:00" level=error msg="thumbs: thumbnail not cached"

all my permissions in the container are for photoprism:users except /photoprism/storage/config, which is photoprism:root

drwxr-xr-x 1 photoprism users 44 Jun 6 21:39 albums

drwxr-xr-x 1 photoprism users 54 Jun 6 11:34 cache

drwxr-xr-x 1 photoprism root 38 Jun 6 11:35 config

drwxr-xr-x 1 photoprism users 444 Jun 6 18:37 sidecar

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.