Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #1101

Open
timmyderselts opened this issue Oct 30, 2023 · 24 comments
Open

Unable to install #1101

timmyderselts opened this issue Oct 30, 2023 · 24 comments

Comments

@timmyderselts
Copy link

timmyderselts commented Oct 30, 2023

hello i am trying to install peergos using the exe i am running with this command

peergos.exe daemon -generate-token true and im getting the following command prompt

C:\peergos>peergos.exe daemon -generate-token true Starting Peergos daemon version: 0.13.0-web-ui/d22f431a248c17bf2fe0e754159ec6ead e12c467 Looking up OS: windows server 2012 r2 Looking up architecture: amd64 Connection refused: no further information retrieving api/v0/id init config --json Bootstrap [\"/ip4/172.104.157.121/tcp/4001/ipfs/QmVdFZgHnEgcedCS2G 2ZNiEN59LuVrnRm7z3yXtEBv2XiF\",\"/ip6/2a01:7e01:0:0:f03c:92ff:fe26:f671/tcp/4001 /ipfs/QmVdFZgHnEgcedCS2G2ZNiEN59LuVrnRm7z3yXtEBv2XiF\",\"/ip4/172.104.143.23/tcp /4001/ipfs/QmcoDbhCiVXGrWs6rwBvB59Gm44veo7Qxn2zmRnPw7BaCH\",\"/ip6/2a01:7e01:0:0 :f03c:92ff:fee5:154a/tcp/4001/ipfs/QmcoDbhCiVXGrWs6rwBvB59Gm44veo7Qxn2zmRnPw7BaC H\",\"/dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjT ezGAJN\",\"/dnsaddr/bootstrap.libp2p.io/ipfs/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbX JJ16u19uLTa\",\"/dnsaddr/bootstrap.libp2p.io/ipfs/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKN N6tpvbUcqanj75Nb\",\"/dnsaddr/bootstrap.libp2p.io/ipfs/QmcZf59bWwK5XFi76CZX8cbJ4 BhTzzA3gU1ZjYZcYW3dwt\",\"/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUE nRQAwe3N8SzbUtfsmvsqQLuvuJ\",\"/ip4/104.236.179.241/tcp/4001/ipfs/QmSoLPppuBtQSG wKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM\",\"/ip4/128.199.219.111/tcp/4001/ipfs/QmSoLSaf TMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu\",\"/ip4/104.236.76.40/tcp/4001/ipfs/QmSo LV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64\",\"/ip4/178.62.158.247/tcp/4001/ipfs /QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd\",\"/ip6/2604:a880:1:20:0:0:203: d001/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM\",\"/ip6/2400: 6180:0:d0:0:0:151:6001/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMK Pnu\",\"/ip6/2604:a880:800:10:0:0:4a:5001/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9C y3U6aXMJDAbzgu2fzaDs64\",\"/ip6/2a03:b0c0:0:1010:0:0:23:1001/tcp/4001/ipfs/QmSoL er265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd\",\"/ip4/104.131.131.82/udp/4001/quic/ ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ\"] config Addresses.ProxyTarget /ip4/127.0.0.1/tcp/8003 config --json Metrics.Enabled false config Metrics.Address localhost config --json Metrics.Port 0 config --json Experimental.Libp2pStreamMounting true config --json Experimental.P2pHttpProxy true config Addresses.API /ip4/127.0.0.1/tcp/5001 config Addresses.Gateway /ip4/127.0.0.1/tcp/8080 config Addresses.AllowTarget http://127.0.0.1:8002 config --json Addresses.Swarm [\"/ip4/0.0.0.0/tcp/4001\",\"/ip6/::/tcp/4001\",\" /ip4/0.0.0.0/udp/4001/quic\",\"/ip6/::/udp/4001/quic\"] daemon Connection refused: no further information retrieving api/v0/id Connection refused: no further information retrieving api/v0/id Connection refused: no further information retrieving api/v0/id

also here is my log

Oct 30, 2023 4:02:19 PM peergos.server.storage.IpfsInstaller ensureInstalled INFO: ipfs-exe C:\Users\Administrator\.peergos\ipfs.exe not available Oct 30, 2023 4:02:19 PM peergos.server.storage.IpfsInstaller install INFO: Using cached ipfs.exe C:\Users\Administrator\.cache\QmWdciDizX3RMZX1haDdhXwQ1nBoaKQX2ipPmQZBJqzvf7 Oct 30, 2023 4:02:21 PM peergos.server.storage.IpfsWrapper build INFO: Using IPFS dir C:\Users\Administrator\.peergos\.ipfs and IPFS binary C:\Users\Administrator\.peergos\ipfs.exe Oct 30, 2023 4:02:21 PM peergos.server.storage.IpfsWrapper configure INFO: Initializing ipfs Oct 30, 2023 4:02:21 PM peergos.server.storage.IpfsWrapper configure INFO: Setting ipfs bootstrap nodes [/ip4/172.104.157.121/tcp/4001/ipfs/QmVdFZgHnEgcedCS2G2ZNiEN59LuVrnRm7z3yXtEBv2XiF, /ip6/2a01:7e01:0:0:f03c:92ff:fe26:f671/tcp/4001/ipfs/QmVdFZgHnEgcedCS2G2ZNiEN59LuVrnRm7z3yXtEBv2XiF, /ip4/172.104.143.23/tcp/4001/ipfs/QmcoDbhCiVXGrWs6rwBvB59Gm44veo7Qxn2zmRnPw7BaCH, /ip6/2a01:7e01:0:0:f03c:92ff:fee5:154a/tcp/4001/ipfs/QmcoDbhCiVXGrWs6rwBvB59Gm44veo7Qxn2zmRnPw7BaCH, /dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN, /dnsaddr/bootstrap.libp2p.io/ipfs/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa, /dnsaddr/bootstrap.libp2p.io/ipfs/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb, /dnsaddr/bootstrap.libp2p.io/ipfs/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt, /ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ, /ip4/104.236.179.241/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM, /ip4/128.199.219.111/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu, /ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64, /ip4/178.62.158.247/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd, /ip6/2604:a880:1:20:0:0:203:d001/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM, /ip6/2400:6180:0:d0:0:0:151:6001/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu, /ip6/2604:a880:800:10:0:0:4a:5001/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64, /ip6/2a03:b0c0:0:1010:0:0:23:1001/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd, /ip4/104.131.131.82/udp/4001/quic/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ] Oct 30, 2023 4:02:22 PM peergos.server.storage.IpfsWrapper configure INFO: Running ipfs config Oct 30, 2023 4:02:23 PM peergos.server.storage.IpfsWrapper start INFO: Starting ipfs daemon Oct 30, 2023 4:02:29 PM peergos.server.util.Logging lambda$init$0 SEVERE: Uncaught Exception in thread 1:main java.lang.RuntimeException: java.lang.NullPointerException at peergos.server.Main.startPeergos(Main.java:784) at peergos.server.Command.main(Command.java:75) at peergos.server.Command.main(Command.java:63) at peergos.server.Main.main(Main.java:956) Caused by: java.lang.NullPointerException at com.oracle.svm.jni.functions.JNIFunctions$Support.getMethodID(JNIFunctions.java:1176) at com.oracle.svm.jni.functions.JNIFunctions.GetMethodID(JNIFunctions.java:416) at com.oracle.svm.jni.JNIOnLoadFunctionPointer.invoke(JNILibraryInitializer.java) at com.oracle.svm.jni.JNILibraryInitializer.callOnLoadFunction(JNILibraryInitializer.java:74) at com.oracle.svm.jni.JNILibraryInitializer.initialize(JNILibraryInitializer.java:131) at com.oracle.svm.core.jdk.NativeLibrarySupport.addLibrary(NativeLibrarySupport.java:186) at com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibrary0(NativeLibrarySupport.java:142) at com.oracle.svm.core.jdk.NativeLibrarySupport.loadLibraryAbsolute(NativeLibrarySupport.java:101) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:54) at java.lang.Runtime.load0(Runtime.java:755) at java.lang.System.load(System.java:1953) at org.sqlite.SQLiteJDBCLoader.loadNativeLibrary(SQLiteJDBCLoader.java:280) at org.sqlite.SQLiteJDBCLoader.extractAndLoadLibraryFile(SQLiteJDBCLoader.java:237) at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:350) at org.sqlite.SQLiteJDBCLoader.initialize(SQLiteJDBCLoader.java:68) at org.sqlite.core.NativeDB.load(NativeDB.java:63) at org.sqlite.SQLiteConnection.open(SQLiteConnection.java:278) at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:65) at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:28) at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:19) at org.sqlite.JDBC.createConnection(JDBC.java:104) at org.sqlite.SQLiteDataSource.getConnection(SQLiteDataSource.java:440) at org.sqlite.SQLiteDataSource.getConnection(SQLiteDataSource.java:432) at peergos.server.util.Sqlite.build(Sqlite.java:16) at peergos.server.Builder.getDBConnector(Builder.java:104) at peergos.server.Main.startPeergos(Main.java:570) ... 3 more

i also have tried running with the jar it installs just fine but then i cannot create my first user account it just goes to generating keys and errors out with a network issue

@timmyderselts
Copy link
Author

timmyderselts commented Oct 31, 2023

just tried to install using the build you linked heres the log file https://github.com/timmyderselts/eclipse-workspace/blob/main/report/newjar

@timmyderselts
Copy link
Author

timmyderselts commented Oct 31, 2023

stalls while starting command prompt window paste https://github.com/timmyderselts/eclipse-workspace/blob/main/report/freeze

@ianopolous
Copy link
Member

The first run might take a minute or so to start as it syncs the pki. Can you run with -log-to-console true ?

@timmyderselts
Copy link
Author

timmyderselts commented Oct 31, 2023

i have attached the raw report https://github.com/timmyderselts/eclipse-workspace/blob/main/report/report

@ianopolous
Copy link
Member

That link 404s for me

@timmyderselts
Copy link
Author

timmyderselts commented Oct 31, 2023

ins on my local github under "eclipse-workspace" -> "report" -> report

look again relize i had it set to private just changed it to public

@ianopolous
Copy link
Member

Maybe it's not public? I can't see it

@timmyderselts
Copy link
Author

ya it was private i just changed it

@ianopolous
Copy link
Member

The final error there says you've run out of space. What is this running on?

@timmyderselts
Copy link
Author

sorry im confused about your question, I'm fairly new to all of this this application in running on windows server 2012 r2 if thats what you mean

@timmyderselts
Copy link
Author

i tried running it again, im able to pull up the peergos page on my localhost but when i try and create my first user i get this error:

https://github.com/timmyderselts/eclipse-workspace/blob/main/report/console%20paste

@ianopolous
Copy link
Member

ianopolous commented Oct 31, 2023

It looks like your server has run out of disk space.

Did you try to sign up through http://localhost:8000/?signup=true&token=1c8f5
0209f24b285576c1da6746b7bfc679ec6d89eb81349727b9f7808720edc

@timmyderselts
Copy link
Author

timmyderselts commented Oct 31, 2023

i did / also server has over 300 GB free on the disk

@timmyderselts
Copy link
Author

after a fresh install i was able to get it running however i created a user got in played with it abit then closed it down cause i had to restart my computer after it came back up it wont let me login here is the log :

https://github.com/timmyderselts/eclipse-workspace/blob/main/report/login_Failure

also it wont let me create my user again cause it was it already exist

@ianopolous
Copy link
Member

There was a regression in the release, can you download it again and try again. Unfortunately you will need to choose a new username.

@timmyderselts
Copy link
Author

i installed the lastest build and made a new account but i don't have access to admin rights on my own server so i cannot change the settings and am also stuck at 1GB of storage cause i cannot request more

@ianopolous
Copy link
Member

You can set who is admin with the CLI argument -admin-usernames

@timmyderselts
Copy link
Author

timmyderselts commented Nov 4, 2023

that command doesnt seam to work is it -admin-myuser or -admin-usernames myuser i tried both niether worked so total command line reads

java -jar peergos.jar -admin-usernames username

@ianopolous
Copy link
Member

Sorry, it's an argument to the daemon command. So

java -jar Peergos.jar daemon -admin-usernames $your_username ...

@timmyderselts
Copy link
Author

perfect that worked fine, also where is the default save location for files? and how do I change it? im also having difficulty getting the public server working from reading the wiki all i should have to do is set the flag -public-server true and it should work but that seams to freeze the start up

@ianopolous
Copy link
Member

the blockstore is in $peergos-dir/.ipfs/blocks
$peergos-dir is ~/.peergos by default. You can set with with -PEERGOS_PATH
On a public server you will need to setup a reverse proxy like nginx to terminate TLS

@timmyderselts
Copy link
Author

cool thanks for all your help :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants