null Notes do not exist, failed to fetch
Hi
I set it up using Docker. I open the page, this is what I see. I put the URL/IP in the plugin, put a user/pass but I get no response, I keep seeing the login button.
The login attempt does not seem to create any logs on the server.
/media/obsidian_sync_share/userA: is completely empty after docker run.
I am using it internally so I do not need to run this behind a reverse proxy
docker run --name obsidian-sync-share-server -p PORT:8080 -v "/media/obsidian_sync_share/userA:/app/user_store" alterzz/obsidian-sync-share-server
http://IP:80
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.1.0)
2024-01-26T23:34:51.725Z INFO 1 --- [ main] c.a.o.ObsidianSyncShareServerApplication : Starting ObsidianSyncShareServerApplication v1.2.1 using Java 17.0.9 with PID 1 (/app/obsidian-sync-share-server.jar started by root in /app)
2024-01-26T23:34:51.728Z DEBUG 1 --- [ main] c.a.o.ObsidianSyncShareServerApplication : Running with Spring Boot v3.1.0, Spring v6.0.9
2024-01-26T23:34:51.729Z INFO 1 --- [ main] c.a.o.ObsidianSyncShareServerApplication : No active profile set, falling back to 1 default profile: "default"
2024-01-26T23:34:54.139Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2024-01-26T23:34:54.167Z INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2024-01-26T23:34:54.168Z INFO 1 --- [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.8]
2024-01-26T23:34:54.487Z INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2024-01-26T23:34:54.491Z INFO 1 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 2597 ms
2024-01-26T23:34:55.071Z INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2024-01-26T23:34:55.373Z INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2024-01-26T23:34:55.478Z INFO 1 --- [ main] c.a.o.ObsidianSyncShareServerApplication : Started ObsidianSyncShareServerApplication in 4.886 seconds (process running for 7.641)
2024-01-26T23:35:08.856Z INFO 1 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2024-01-26T23:35:08.856Z INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2024-01-26T23:35:08.857Z INFO 1 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms
still there? If you can open this page, it means the service is normal. Please log in to obsidian and an account will be automatically created. If there is no prompt after clicking to log in, is there possibly a network problem?
Hi
It seems like I cant create an account for real. The server works but no account creation is happening with the initial login details even though it says "login successfull"
2024-02-01T03:03:26.127Z DEBUG 1 --- [nio-8080-exec-1] c.a.o.controller.UserController : 用户:USER正在尝试登录
2024-02-01T03:03:26.128Z DEBUG 1 --- [nio-8080-exec-1] c.a.o.controller.UserController : 用户:USER登录成功
I did press "sync" it said it synced the notes, but I do not see them
Synchronized notes cannot be seen directly. What you see on the web page are shared notes. Please select a note and right-click to share it.
I can see that there are bunch of files and folders in the shared volume, but the web page is not displaying them.
I can see that there are bunch of files and folders in the shared volume, but the web page is not displaying them.
sync backs up data to the server and does not support directly displaying the backed up data. If you need to display notes on a web page, please share it so that others can view your notes through the web page.
I see, that makes sense.
So if I have 3 different Obsidian clients (desktop, mobile etc) Will I be able to sync between these 3 devices by usingthe same user pass login?
Btw I see this error in the console, not sure if it is related to the original problem
Yes, you can, this is the correct usage
The error seems to be a network problem. The backend did not receive the request. All other requests are normal. Is this the only one that has a problem?
Thanks for your help. This functionality feel similar to how Joplin Sync works which is very nice.
I can't reproduce this error here, can provide more detailed information