Jump to content

Danuel

Members
  • Posts

    250
  • Joined

  • Last visited

Posts posted by Danuel

  1. 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
  2. On 10/27/2022 at 1:17 AM, bombz said:

    Good day all,

    I have been reading some guides on how to backup (export) my mariadb databases via console.... as I would like to restore (import) them to another SQL docker container. 
    I am not the most experienced db user with the CLI.

    I have tried the following commands without success from console

    docker exec CONTAINER_id /usr/bin/mysqldump -uusername --password=yourpassword databasename> backup.sql

     

    mysqldump -u username -p database_name > dump.sql

     

    mysqldump -u username -p database_name > data-dump.sql



    Each time, after running the above commands, the response in mariadb console is
    ->
    ->
    If i add a ; at the end of each command it prompts a syntax error. Clearly I am not understanding something here and was curious if anyone has had experience with this process.

     

    Thank you,

    try this

    mysqldump -uusername -ppassword databasename > /location/name.sql

    example: mysqldump -uuser -ppassword nextcloud > /mnt/user/backup/dbbackup/nextcloud.sql

     

  3. 6 hours ago, bombz said:


    Hello, 

    Glad you got it working.
    Currently I cannot update linuxserver/nextcloud to the latest version due to limitations of mariadb, nor can I export the NC db to another SLQ docker. Been a challenge to say the least.

    what kind of limitation ? i am currently linuxserver/nextcloud latest and MariaDB-Official latest

    • Like 1
  4. some update,

     

    somehow i manage to make it work again. (i stopped nexcloud container)

    i have changed database to MariaDB-Official then i have created a database and user for nexcloud,   i had a backup of nextcloud database, i used HeidiSQL to import the db into MariaDB-Official, after i managed to add the db file into HeidiSQL i executed the sql (there is a button with execute SQl) after a while did show in the new database and nextcloud start to work again

  5. 8 minutes ago, bombz said:


    which NC repository are you using there are a few
    nextcloud:latest = official 

    modified NC
    linuxserver/nextcloud
    nextcloud/all-in-one:latest
    lscr.io/linuxserver/nextcloud



    I have received this in the past yes, which generally related to my mariadb docker not being started
    The concern then goes away then after.
    I am not sure if this is related to your concern or your NC is having concerns accessing your db?


    I am attempting a new NC docker now as this repository doesn't pull the NC updates with the docker pull, and requires the end user to use the updater within NC to update NC.
    This has caused some concerns with mariadb so going to attempt to flip to the official NC docker with unraid to see if I can make it work correctly, that when you pull an update via docker, it updates NC as a whole

     from what i see i think is related to mariadb, i noticed that i cant access database now, i get this error 

    ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111)

     

    and yes i do use linuxserver/nextcloud

     

    i did try to downgrade both mariadb and nexclod and have same problems

  6. hi,

    i have same problem

     

    221029 17:41:58 mysqld_safe Logging to '/config/databases/1091f11024d1.err'.
    221029 17:41:58 mysqld_safe Starting mariadbd daemon with databases from /config/databases

     

    and i noticed that i cant access database anymore

     

    ERROR 2002 (HY000): Can't connect to local server through socket '/run/mysqld/mysqld.sock' (111)

     

  7. does anyone get this message, when they try to access nexcloud ?

     

    Internal Server Error The server encountered an internal error and was unable to complete your request. Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report. More details can be found in the server log.

     

    this is what i see in container logs

     

    using keys found in /config/keys
    [custom-init] No custom files found, skipping...
    [ls.io-init] done.
    Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2006] MySQL server has gone away in /config/www/nextcloud/lib/private/DB/Connection.php:139 

     

    **** The following active confs have different version dates than the samples that are shipped. ****
    **** This may be due to user customization or an update to the samples. ****
    **** You should compare the following files to the samples in the same folder and update them. ****
    **** Use the link at the top of the file to view the changelog. ****
    /config/nginx/nginx.conf

     

    i noticed this on the latest update

  8. 13 hours ago, Mihai said:

    @Danuel  first of all, did you properly install SSL certificates? PDF would not work without. Mailing I did not test, but I know logo is not working, I'm working on a fix.
    For the others, please DM me container logs and laravel.log logs(from storage) mount point.

     do i need other certificate other then the ones that they are already in the storage/certs ?

  9. hi,

     

    for two days i am trying to make this container work and i got no where, i know that there is another one by maihai/invoiceninja_v5 but on that the mail is not working and setting within the application are missing

     

    so what i have try with  invoiceninja/invoiceninja (official)

    i did try to add new container and add all fields as peer description, i always end up with page not found, i logs everything look fine (i think)

    is anyone please, that can help ?  

  10. 4 hours ago, Chiacomo said:

    Hi,

     

    i have the same problem. I didn't use akaunting for 2 weeks. Yesterday i wanted to use it. I tried to login and but the login site didn't load.

    This was in the log files and the container stopped:

     

     Some options are missing and --no-interaction is present. Please run the following command for more information :
     php artisan help install
     Missing options are : db-port

     

    After editing the settings of the container and set setup to false, i restartet the container. I entered my credentials at the login screen but nothing

    happens.

     

    Now i have a big problem to get it work again. I only have backups fom the database. I don*t no what happend. I think the problem comes from an

    update because i see the login screen in a new design.

     

    Please help me because i am in big trouble.

     

    When i use this line in the container:

    php artisan install --db-host "ip_of_dbhost" --db-port "port_number_of_db" --db-name "db_name_here" --db-username "db_username_here" --db-password "db_password_here" --company-name "company_name" --company-email "company@mail" --admin-email "email@mail" --admin-password "password_here" --locale "en-US"

     

    with my values, it connects to the database and after a few seconds this error came:


    In Connection.php line 742:
                                                                                                       
      SQLSTATE[HY000]: General error: 1005 Can't create table `akaunting`.`2gl_media` (errno: 121 "Du  
      plicate key on write or update") (SQL: alter table `2gl_media` add constraint `original_media_i  
      d` foreign key (`original_media_id`) references `2gl_media` (`id`) on delete set null)           
                                                                                                       

    In Connection.php line 527:
                                                                                                       
      SQLSTATE[HY000]: General error: 1005 Can't create table `akaunting`.`2gl_media` (errno: 121 "Du  
      plicate key on write or update")   

     

     

    Best Regards

     

    same problem here mate, did not manage to get to the end of it yet, i changed to invoice ninja at the moment

  11. 9 minutes ago, corbetto said:

    Still having issues not been able to login now getting this error output any help please!!!

    Enabling module rewrite.
    To activate the new configuration, you need to run:
    service apache2 restart
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.6. Set the 'ServerName' directive globally to suppress this message
    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.6. Set the 'ServerName' directive globally to suppress this message
    [Sun Jun 19 19:13:43.286237 2022] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.53 (Debian) PHP/8.1.7 configured -- resuming normal operations
    [Sun Jun 19 19:13:43.286280 2022] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
    172.18.0.1 - - [19/Jun/2022:19:13:51 +1200] "GET / HTTP/1.1" 302 1624 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.123.123.115 Safari/537.36"

     

     

    if you open akaunting console and type  "service apache2 restart" still not working ?

     

  12. 19 hours ago, vaeron said:

    I was setting mine up fresh with no previous build.

     

    Copy the code that I placed in the previous post and paste it in notepad. Update all of the data inside of the quotes with data for your instance. You can then click on the docker container and click "Edit". Edit the "Setup Account:" flag to say "false" and click "Done". Once you do that click on the container again and click "Start" if it's not already started. Once it's started click the container again and click "console_". Once that opens copy the edited code from earlier and right click -> paste in the console window that pops up. Press enter on your keyboard and wait for it to finish. It might take a bit while it's setting up the database. Once it's done and it's back at the # line you can go back to the docker container and click and "Restart". Wait for it to start up and then go to the web gui. You will be able to set up your Akaunting instance.

    setup_account_flag.JPG

    console.JPG

    this is not working for me, have you add anything on the other fields ? did you changed back to "true"

    setting setup account to "false" will let me to open akaunting webui but not able to login because user and pass do not work, so that code does nothing for me, only telling me that i cant connect to the database even if i manage to connect trought mariaDB

  13. I was able to get around this issue today by setting the first time setup to false in the configuration then writing my own install string:
     
    php artisan install --db-host "ip_of_dbhost" --db-port "port_number_of_db" --db-name "db_name_here" --db-username "db_username_here" --db-password "db_password_here" --company-name "company_name" --company-email "company@mail" --admin-email "email@mail" --admin-password "password_here" --locale "en-US"

     
    Once I started the container I ran the above script in the console with the proper variable entries. Once it was completed I restarted the akaunting docker and was able to step through setup.


    Can you please share more information on what exactly you have done since i am a novice in all of this, than you
  14. latest update bbroke the app,

     

    in logs appear 

     Some options are missing and --no-interaction is present. Please run the following command for more information :
    php artisan help install
    Missing options are : db-port

     

    port is properly added in template

     

    i cant even enter in console because container stop itself

×
×
  • Create New...