[Support] A75G Repo


Recommended Posts

On 11/22/2022 at 4:07 AM, pkoasne said:

 

I had to add write permissions to the /appdata/matrix folder to get it to write the config files.

That helped, now the files are in the folder, and I edited the config yaml, but now I'm getting "unsupported database type" when I try to run the container. I have the db up and running in a postgresql14 container and I pointed the yaml file to the correct place. Odd.

Link to comment
On 11/26/2022 at 11:44 PM, bobalot said:

Actually, it's gone back to not working.

 

I was able to enter the moodle docker and muck around a bit but after a while it just stops working.

 

image.thumb.png.e227c41883c3d2b82f584ae8b6ea0514.png

 

I checked the database via adminer and moodle has created a whole bunch of tables, etc.

 

image.thumb.png.ec5a0b4ad241f81ac20e215682736f6a.png

 

If anybody has any idea how to fix this, it would be much appreciated.

Any of the maintainers of this docker seen this issue before?

Link to comment

Hi all, 

 

I noticed my issues only seems to occur if I disconnect from the database and attempt to reconnect (docker update, server restart, etc). 

 

There also doesn't appear to be any appdata for moodle. 

 

Does anybody have any advice? 

Edited by bobalot
Link to comment

 

11 hours ago, bobalot said:

Hi all, 

 

I noticed my issues only seems to occur if I disconnect from the database and attempt to reconnect (docker update, server restart, etc). 

 

There also doesn't appear to be any appdata for moodle. 

 

Does anybody have any advice? 

I think I worked out a solution. 

 

I had to add the following parameter:

 

MOODLE_SKIP_BOOTSTRAP with a value of YES

 

I think docker was trying to initialise a new database every time it loaded up rather than using the existing database it had created. 

 

 

Screenshot_20221202_211854.jpg

Edited by bobalot
Link to comment

not able to install container

 

rror response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/mnt/user/appdata/dashy/conf.yml" to rootfs at "/app/public/conf.yml": mount /mnt/user/appdata/dashy/conf.yml:/app/public/conf.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

  • Like 1
Link to comment
  • 2 weeks later...

Hi, maybe someone here can help me. I am running the Redis container on my Unraid installation. There were some issues with rights on installation/ boot of the container. I searched the fora's and found that the folders in the appdata had to be chown updated. I did this and redis worked for about a day. After that it crached giving the following issue:

image.thumb.png.0e818ace7201f352cebb221991ddbe2f.png

Already tried to also updated the chown on the /data folder this didn't work sadly.

Checked the Github issues, and I found one similar issue that was closed without an answer.

Anybody another idea? 

Link to comment
On 11/3/2022 at 2:35 PM, irishjd said:

Trying to get the last of the issues resolved on my LibreNMS install. When I validate the config, I see the following three errors:

 

FAIL: No active polling method detected

FAIL: No active python wrapper pollers found

FAIL: ServerName is set incorrectly for your webserver, update your webserver config. 192.168.100.69 parse failure (/validate/results)

 

If i run "/opt/librenms/cronic /opt/librenms/poller-wrapper.py 16"manually, it runs without any issues, so I am not sure where the problem is. As far as the server name goes, I'm still trying to figure out where that is set at. I have it set in the Web GUI, but obviously I need to change a config file as well.

 

 

@irishjd did you find a solution to this? I am getting the same issue

Link to comment

epicgames-freegames

Tried to set it up but I just can't get it to work

 

Any suggestions what am I doing wrong in here?

Just used default settings, added login details to config.json but I;m seeing this in a log file

/usr/app/node_modules/json5/lib/parse.js:1083
    const err = new SyntaxError(message)
                ^
SyntaxError: JSON5: invalid character ',' at 17:4
    at syntaxError (/usr/app/node_modules/json5/lib/parse.js:1083:17)
    at invalidChar (/usr/app/node_modules/json5/lib/parse.js:1028:12)
    at Object.end (/usr/app/node_modules/json5/lib/parse.js:682:15)
    at Object.default (/usr/app/node_modules/json5/lib/parse.js:146:37)
    at lex (/usr/app/node_modules/json5/lib/parse.js:78:42)
    at Object.parse (/usr/app/node_modules/json5/lib/parse.js:25:17)
    at Object.<anonymous> (/usr/app/src/common/config/setup.ts:62:30)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)

/usr/app/node_modules/json5/lib/parse.js:1083
    const err = new SyntaxError(message)
                ^
SyntaxError: JSON5: invalid character ',' at 17:4
    at syntaxError (/usr/app/node_modules/json5/lib/parse.js:1083:17)
    at invalidChar (/usr/app/node_modules/json5/lib/parse.js:1028:12)
    at Object.end (/usr/app/node_modules/json5/lib/parse.js:682:15)
    at Object.default (/usr/app/node_modules/json5/lib/parse.js:146:37)
    at lex (/usr/app/node_modules/json5/lib/parse.js:78:42)
    at Object.parse (/usr/app/node_modules/json5/lib/parse.js:25:17)
    at Object.<anonymous> (/usr/app/src/common/config/setup.ts:62:30)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)

/usr/app/node_modules/json5/lib/parse.js:1083
    const err = new SyntaxError(message)
                ^
SyntaxError: JSON5: invalid character ',' at 17:4
    at syntaxError (/usr/app/node_modules/json5/lib/parse.js:1083:17)
    at invalidChar (/usr/app/node_modules/json5/lib/parse.js:1028:12)
    at Object.end (/usr/app/node_modules/json5/lib/parse.js:682:15)
    at Object.default (/usr/app/node_modules/json5/lib/parse.js:146:37)
    at lex (/usr/app/node_modules/json5/lib/parse.js:78:42)
    at Object.parse (/usr/app/node_modules/json5/lib/parse.js:25:17)
    at Object.<anonymous> (/usr/app/src/common/config/setup.ts:62:30)
    at Module._compile (node:internal/modules/cjs/loader:1159:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
    at Module.load (node:internal/modules/cjs/loader:1037:32)

> [email protected] entrypoint-config
> node dist/src/entrypoint-config.js


> [email protected] entrypoint-config
> node dist/src/entrypoint-config.js


> [email protected] entrypoint-config
> node dist/src/entrypoint-config.js

 

 

Config.json file below (account don't have 2FA)

 

{
  "cronSchedule": "0 12 * * *",
  "searchStrategy": "all",
  "runOnStartup": true,
  "testNotifiers": true,
  "runOnce": false,
  "timezone": "Europe/London",
  "intervalTime": 60,
  "logLevel": "info",
  "notificationTimeoutHours": 24,
  "testNotifiers": false,
  "skipVersionCheck": false,
  "noHumanErrorHelp": false,
  "browserLaunchTimeout": 15,
  "browserLaunchRetryAttempts": 5,
  "browserNavigationTimeout": 30000
  },
  "accounts": [
    {
      "email": "[email protected]",
      "password": "ZZZZZZZZZZZZZZZ",
    },
  ],
  "notifiers": [
    {
      "type": "telegram",
      "apiUrl": "https://api.telegram.org",
      "token": "YYYYYYYYYYYYYYYYYYYYYYYYYYY",
      "chatId": "WWWWWWWWWWWWWWWWWWWW",
    },
  ],
}


 

Link to comment

Hi

In the docker epicgames-freegames the envirement variable "TZ" is set automatically to Los_Angeles.  Is it possible to add this variable as a setting in the docker, instead of a fixed value? Otherwise the user Cron-Jobs are running on Los_Angeles times instead of (in my case) Europe.

I've semi-fixed it, addint as extra paramenter "-e TZ=XXXXXX", so the docker is first starting -e TZ Los-Angeles, and then -e TZ XXXX, when building. I think this would be better for the community, if everyone could set the TZ as they please a bit easier.

P.S. As a noob, I am pretty proud of myself, that I found this workaround, but I think that someone else might struggle more than me, as this kind of issue isn't an issue described on the github page of this docker.

 

Can all be ignored. Actually, I just wrote the timezone wrong. Even as all other attributes are written in camel case, timezone has to be written as one word "timezone" and not timeZone.

Edited by Doublemyst
Link to comment
On 12/16/2022 at 2:34 PM, BeersTeddy said:

epicgames-freegames

Tried to set it up but I just can't get it to work

 

Any suggestions what am I doing wrong in here?

Just used default settings, added login details to config.json but I;m seeing this in a log file

 

 

Config.json file below (account don't have 2FA)

 

{
  "cronSchedule": "0 12 * * *",
  "searchStrategy": "all",
  "runOnStartup": true,
  "testNotifiers": true,
  "runOnce": false,
  "timezone": "Europe/London",
  "intervalTime": 60,
  "logLevel": "info",
  "notificationTimeoutHours": 24,
  "testNotifiers": false,
  "skipVersionCheck": false,
  "noHumanErrorHelp": false,
  "browserLaunchTimeout": 15,
  "browserLaunchRetryAttempts": 5,
  "browserNavigationTimeout": 30000
  },
  "accounts": [
    {
      "email": "[email protected]",
      "password": "ZZZZZZZZZZZZZZZ",
    },
  ],
  "notifiers": [
    {
      "type": "telegram",
      "apiUrl": "https://api.telegram.org",
      "token": "YYYYYYYYYYYYYYYYYYYYYYYYYYY",
      "chatId": "WWWWWWWWWWWWWWWWWWWW",
    },
  ],
}


 

 

Just added my comment to this thread and saw your post. Actually, the Timezone isn't working (at least not for me), as this is set not on the config side, but (at least in our case) at the moment, when the docker is created (you can check my previdous message).

 

Hi

I actually just read your error messages, and the problem in your settings files are probably the commas "JSON5: invalid character ','"

 

If you check how json files are created, you are not allowed to use commas at the last entry. Sorry I am also a noob and can't explain it any better - just found this out yesterday.

 

Here is an example from your code, what I think is wrong:

grafik.thumb.png.b71ff263fd76d75cc9f39edf8d0d4476.png

 

Edit: timezone attribute will work. Have written it wrong in my setup, as I was thinking, it will also be written in camel case timeZone - it is not.

 

 

Here is a config file example, which is working for me:

{
  "searchStrategy": "promotion",
  "runOnStartup": true,
  "cronSchedule": "0 9,12,15,18,21 * * *",
  "logLevel": "info",
  "hcaptchaAccessibilityUrl": "XXXXXX",
  "webPortalConfig": {
  "baseUrl": "https://XXXXX.XXXXXXX.com"
  },
  "accounts": [
  {
            "email": "[email protected]",
            "password": "XXXXXXXXX"        
        }
       ],

  "notifiers": [
    {
      "type": "email",
      "smtpHost": "mail.XXXXX.XXX",
      "smtpPort": XXX,
    "emailSenderAddress": "[email protected]",
        "emailSenderName": "Epic Games Captchas",
        "emailRecipientAddress": "[email protected]",
        "secure": false,
        "auth": {
            "user": "[email protected]",
            "pass": "XXXXXX"
        }
    },

    {
      "type": "telegram",
      "token": "XXX:XXXXXXX",
      "chatId": "-XXXXXX"
    }
  ]
}

 

 

In my case I've set it so up, that it is checking for free games during the day a few times, then notifies me on E-Mail and Telegram for captcha to be solved. I'm using a webportal config, as I am accessing those captchas from internet - so I can add games whereever I currently am.

 

I don't think that you need the "hcaptchaAccessibilityUrl" - this was added at the first stages of the docker, where it was possible to add games fully automatically without captchas.

 

P.S. make sure, you are writing it correctly. The amount of spaces before your entries matters a lot. There are probably some online tools to check if your json format is written correctly.

 

Hope it helps,

Cheers

Edited by Doublemyst
added screenshot / modified comment (merged)
  • Like 1
Link to comment
On 12/21/2022 at 6:44 AM, Hammy Havoc said:

Getting this error when trying to start the latest version of the `matrix` Docker container:

 

/usr/bin/python3: Error while finding module specification for 'synapse.app.homeserver' (ModuleNotFoundError: No module named 'synapse.app')

 


Likewise, reverting now.

If the docker image has been updated / rebased on Debian a cursory Google suggests that this may be related:

https://github.com/matrix-org/synapse/issues/4431 

Edit: Reverting to the previous image works fine. Filed an issue on Github for this.

Edited by aterfax
Link to comment
  • 2 weeks later...

[Moodle Setup Problems]

First and foremost a big thanks to you bobalot for your time and progress on the moodle problem.

I can confirm his approach working for me as well:

 

---taken steps---
--1-- After initial docker installation with default values - apart from database and moodle logins - I received following error:

  • /opt/bitnami/moodle/config.php: No such file or directory
    ...
    Restoring persisted Moodle installation

Originally I researched the 'no such file or dir' part, but www led me to believe that the 'restoring persisted installation' was the bigger issue. I removed the installation, later pruned, tried again - no success. But the crux was nothing I had thought about from the error msg:

 

  • At some point I found bobalot's post and likewise could boot moodle by removing the bitnami part from the MoodlePath & Moodledata dirs:
On 11/26/2022 at 1:22 PM, bobalot said:

 

I managed to get the docker working. Not really sure why (because I'm a newb).

 

I changed the containers from:

 

/bitnami/moodle to /moodle

/bitnami/moodledata to /moodledata

image.png.b4fc164d495f3246764f1a5257fc7cca.png

 

Is it because there was no Data Dir setting (or similar) that set the base container for /bitnami? So the sub containers /bitnami/moodle and /bitnami/moodledata didn't have a valid path?

 

--2-- And likewise after reboot moodle wouldn't start again:

  • realpath: /bitname/apache/conf: No such file or directory
    ...
    Running moodle install Script
On 11/26/2022 at 1:44 PM, bobalot said:

Actually, it's gone back to not working.

 

I was able to enter the moodle docker and muck around a bit but after a while it just stops working.

 

image.thumb.png.e227c41883c3d2b82f584ae8b6ea0514.png

 

I checked the database via adminer and moodle has created a whole bunch of tables, etc.

 

image.thumb.png.ec5a0b4ad241f81ac20e215682736f6a.png

 

If anybody has any idea how to fix this, it would be much appreciated.

 

--3-- My next step was the addition of the Moodle_skip_bootstrap.
Sidenote: I copied the name from somewhere with a space initally. Make sure you have a clean name^^

On 12/2/2022 at 11:21 AM, bobalot said:

 

I think I worked out a solution. 

 

I had to add the following parameter:

 

MOODLE_SKIP_BOOTSTRAP with a value of YES

 

I think docker was trying to initialise a new database every time it loaded up rather than using the existing database it had created. 

 

 

Screenshot_20221202_211854.jpg

 

And volia - a running system for me as well.

 

Just summarized different posts for future reference.
The credit's all bobalot's for figuring out the steps needed. Much appreciated mate :)

Edited by M1L4
  • Thanks 1
Link to comment
On 12/31/2022 at 2:42 PM, M1L4 said:

[Moodle Setup Problems]

First and foremost a big thanks to you bobalot for your time and progress on the moodle problem.

I can confirm his approach working for me as well:

 

---taken steps---
--1-- After initial docker installation with default values - apart from database and moodle logins - I received following error:

  • /opt/bitnami/moodle/config.php: No such file or directory
    ...
    Restoring persisted Moodle installation

Originally I researched the 'no such file or dir' part, but www led me to believe that the 'restoring persisted installation' was the bigger issue. I removed the installation, later pruned, tried again - no success. But the crux was nothing I had thought about from the error msg:

 

  • At some point I found bobalot's post and likewise could boot moodle by removing the bitnami part from the MoodlePath & Moodledata dirs:

 

--2-- And likewise after reboot moodle wouldn't start again:

  • realpath: /bitname/apache/conf: No such file or directory
    ...
    Running moodle install Script

 

--3-- My next step was the addition of the MMoodle_skip_bootstrap,,, as
Sidenote: I copied the name from somewhere with a space initally. Make sure you have a clean name^^

 

And volia - a running system for me as well.

 

Just summarized different posts for future reference.
The credit's all bobalot's for figuring out the steps needed. Much appreciated mate :)

Hi,

 

Unfortunately, I'm away away from my server for a bit and can't double check a few things.

 

This is what I think will work:

 

1) completely removing the moodle docker (including the files in appdata using the community applications clean up application)

 

2) completely deleting/dropping the database (I'm assuming you as using MariaDB and Adminer to manage it)

 

3) Recreate the database (pretty sure it is utf8mb4_unicode_ci from memory)

 

4) Install Moodle without Moodle_skip_bootstrap as moodle needs to set up the various fields, etc. Make sure your values are all correct (dbname is the database name and not the docker name etc.) and changing the pathing to what I had done before.

 

It should work the first time.

 

5) Add Moodle_skip_bootstrap with a value of YES after you successfully connect the first time and restart the docker.

 

6) I'm not sure if this helped, I did have both dockers (MariaDB and Moodle) on the same custom network.

 

Regards

Bobalot

 

 

Link to comment
  • 3 weeks later...

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.