GithubHelp home page GithubHelp logo

Self Hosted​ Avatar about affine HOT 10 CLOSED

ScaredyCat avatar ScaredyCat commented on September 28, 2024
Self Hosted​ Avatar

from affine.

Comments (10)

EYHN avatar EYHN commented on September 28, 2024 1

@darkskygit is selfhost

from affine.

darkskygit avatar darkskygit commented on September 28, 2024 1

the avatar sync method of workspace is different from that of account's icon, so it does not rely on baseUrl. I will update the corresponding documentation later.

from affine.

darkskygit avatar darkskygit commented on September 28, 2024 1

i have updated the relevant docs, and you can also see other available env vars in the doc: https://docs.affine.pro/docs/self-host-affine/run-affine-with-custom-options

i will set this issues as completed.
if you encounter other problems, you are welcome to submit a new issue

from affine.

EYHN avatar EYHN commented on September 28, 2024

Looks like is a bug, @forehalo @darkskygit pls take a look

from affine.

darkskygit avatar darkskygit commented on September 28, 2024

cannot reproducible, can you provide a video record?

from affine.

EYHN avatar EYHN commented on September 28, 2024

@darkskygit avatarUrl stores a complete URL, which may be inconsistent with the user's actual server Url ?

from affine.

forehalo avatar forehalo commented on September 28, 2024

the url consists of user provided domain, in other words, the url prefix of user avatar should be the same as serverConfig.baseUrl

from affine.

darkskygit avatar darkskygit commented on September 28, 2024

please make sure your AFFINE_SERVER_HOST and AFFINE_SERVER_PORT(optional, set it if you not use 80 or 443)
env has been setted

from affine.

ScaredyCat avatar ScaredyCat commented on September 28, 2024

cannot reproducible, can you provide a video record?

Avatar upload:

but it does work for Workspace icons

from affine.

ScaredyCat avatar ScaredyCat commented on September 28, 2024

please make sure your AFFINE_SERVER_HOST and AFFINE_SERVER_PORT(optional, set it if you not use 80 or 443) env has been setted

I can confirm after installing vi, copying the .env.example to .env and updating the AFFINE_SERVER_HOST line, that uploading of avatars works.

In my defence the documentation don't mention the .env file at all.

However the Workspace icon working without the change makes me think they should both work in the same manner.

from affine.

Related Issues (20)

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.