Hello!
I noticed that after updating (via Docker) NokoBase (to any version in general, but I currently have 2.0.0 beta11), the logo image in the upper left corner of the header disappears.
Is this just a problem I’m having, or is anyone else experiencing it?
Hello, please refresh your browser, find the image request, and check for any errors.
I apologize, I don’t understand code, I don’t know what to look for…
Below, I opened the browser console and saw an error (screenshot)
What and where do I need to look to understand the error, or what do I need to show you (what code to copy) so that you can suggest a possible error and its correction?
I would appreciate your help!
The error shows “btg1 (3)-g99fdg.png” is not found in “/storage/upload/” folder.
Yes, I see that the file is missing, but I originally uploaded it in the system settings (at least I always do this as soon as I update the version of NocoBase).
I noticed that this only happens after updating to the latest version of NocoBase. At the same time (as I thought), the image disappears even if there are no spaces or extra “unsupported” characters in the file name.
I don’t know, maybe it’s just me who has this problem…
Can you re-upload the file?
Yes, I constantly re-upload the image file. And it constantly disappears (after every update of the NocoBase version). I thought the problem was with the server and installed NocoBase on another server, but the problem recurred there too… Regular files (including images), if uploaded to the Attachments field in Collections, are saved and do not disappear. But with the logo, it’s a real problem.
When a file is uploaded, it is assigned some kind of additional parameter (for example, “-1ixpq8” in the screenshot below) in the name. Could this be part of the problem?
I asked a question in support https://easypanel.io/, where I am installing NocoBase from a template, but they don’t respond…
@hongboji, can you help me figure out what might be causing this?
I noticed another unpleasant thing - the images I upload to the Attachments field also disappear after updating the beta version (for example, today I updated from version 2.0.0-beta13 to 2.0.0-beta14). After a while (I don’t know, maybe some cache or something else is being cleared), all the images that were uploaded in the previous version disappear. If I don’t update the version, all the images remain in place.
I made the following settings:
But the image disappeared in the user interface…
What can I view and where? (I have contacted EasyPanel technical support several times, but without success…)
What is the installation/upgrade command? Did you delete the storage files? Before and after the upgrade, please check if the files in your storage folder have been cleared.
@hongboji Thank you for your quick response. I also received a reply from EasyPanel technical support, and it turns out that they have some kind of internal glitch. I have mentioned this many times before, but I am not a technical specialist and do not understand programming, so it is difficult for me to solve such problems on my own.
In general, as I understand it, as soon as Deploy is executed after each update of NocoBase to a new version, this process automatically clears everything in the Docker containers, and all data that is not placed in a special volume is deleted. However, EasyPanel has taken this into account - for this purpose, the settings automatically (from the template) specify a link to the path where the data should not be deleted (if I understand correctly, /storage/uploads). But for some reason, this did not work, even though the path was specified in the settings.
I analyzed it through the console and saw that the actual path where the data is stored is slightly different from what is automatically set in the EasyPanel settings, and added a new path /app/nocobase/storage/uploads. Now I need to check if it works correctly.
But EasyPanel technical support replied that they had fixed it (only I didn’t understand where they fixed it and how I could see it…).
Below, I will show our Discord correspondence so that you are aware of the questions I had and the answers I received. Perhaps this will help clarify things. Maybe I didn’t grasp the main point from EasyPanel technical support, and maybe this will help NocoBase users who encounter similar difficulties.
Here I asked a question—what should I do next with the link Updated Storage Volume Mount for Nocobase by Ahson-Shaikh · Pull Request #1254 · easypanel-io/templates · GitHub on GitHub, but I haven’t received a response yet.
If you have any thoughts on this matter, I would appreciate any advice!