Code Monkey home page Code Monkey logo

dockerfile-deps's People

Contributors

aaronmboyd avatar asadaddy avatar astupidmoose avatar bitcoinmitchell avatar daank-c avatar dennisreimann avatar gruve-p avatar ksdhans avatar ktechmidas avatar kukks avatar nicolasdorier avatar petzsch avatar rjocoleman avatar sethforprivacy avatar snogcel avatar strophy avatar theborakompanioni avatar valsha avatar vasuxdev avatar woutersmit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dockerfile-deps's Issues

Woocommerce theme messed up on TOR

If you first use woocommerce on clearnet and then attempt to use TOR, then the layout is messed up because woocommerce saved options home and siteurl in database during the install.

This website shows manual steps to edit this those values.

A better idea, is to modify wp-config.php and add:

define('WP_SITEURL', $_SERVER["REQUEST_SCHEME"].'://'.$_SERVER["SERVER_NAME"]);
define('WP_HOME', $_SERVER["REQUEST_SCHEME"]'.'://'.'$_SERVER["SERVER_NAME"]);

We should check $_SERVER['HTTP_X_FORWARDED_PROTO'] instead of REQUEST_SCHEME though.

This has the advantage to make woocommerce works at same time on clearnet and Tor.
We should probably do this automatically in the docker-entrypoint.sh.

XMR - Exception in main! boost::thread_resource_error: Resource temporarily unavailable

I thought maybe I was the only one with this error, but others are now reporting it in the mattermost so I'm creating this issue.

Version 18.1.1 works well, but upgrading to 18.2.2 gives the following errors:

Monerod gives:

2023-07-07 18:54:50.004 I Monero 'Fluorine Fermi' (v0.18.2.2-release)
2023-07-07 18:54:50.004 I Initializing cryptonote protocol...
2023-07-07 18:54:50.004 I Cryptonote protocol initialized OK
2023-07-07 18:54:50.005 I Initializing core...
2023-07-07 18:54:50.005 I Loading blockchain from folder /home/monero/.bitmonero/lmdb ...
2023-07-07 18:54:50.044 I Stopping cryptonote protocol...
2023-07-07 18:54:50.044 I Cryptonote protocol stopped successfully
2023-07-07 18:54:50.045 E Exception in main! boost::thread_resource_error: Resource temporarily unavailable

Monero Wallet:

2023-07-07 18:50:21.741 W Loading wallet...
2023-07-07 18:50:21.935 E dbr. THROW EXCEPTION: tools::error::wallet_internal_error
2023-07-07 18:50:21.935 E Failed to initialize ringdb: Failed to open rings database file '/home/monero': Permission denied
2023-07-07 18:50:23.969 W Loaded wallet keys file, with public address: 4AsYt5GTLHNFEWd6h1ZMnAFRfvBha1i7iGdcsFCCnZ6f2t3VZ9oTjhZ6SqR9gD9vQ3PPaVNc1M941Pu3YBYn5scYALETVsc
2023-07-07 18:50:24.333 E Initial refresh failed: boost::thread_resource_error: Resource temporarily unavailable
2023-07-07 18:50:24.335 E Failed to query mining status: No connection to daemon
2023-07-07 18:50:24.335 I Binding on 0.0.0.0 (IPv4):18082
2023-07-07 18:50:24.759 W Starting wallet RPC server
2023-07-07 18:50:24.759 W Stopped wallet RPC server
2023-07-07 18:50:24.759 W Saving wallet...
2023-07-07 18:50:25.093 W Successfully saved

I have asked on the XMR github, but didn't really get anywhere due to my lack of understanding of docker, thread resources and such.

monero-project/monero#8939

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.