# Pydio Cells start issue ( permissions issues )

**URL:** <https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893>\
**Category:** Pydio Cells\
**Created:** [May 21, 2024, 1:59pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893 "2024-05-21T13:59:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 21, 2024, 1:59pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/1 "2024-05-21T13:59:33Z")

</div>

For first post, please answer the questions below!

### Describe your issue in detail

Greetings friends, I have been using Cells for a while now, but recently I have just updated to the latest, and the next day when I tried opening Cells using a browser, it was not working I tried reinstalling Cells, and Maria db but no luck.

### What version of Cells are you using?

Cells version v4.4.1

### What is the server OS? Database name/version? Browser name or mobile device description (if issue appears client-side)?

Fedora workstation 39, Mariadb 10.5.23, Tried on Chrome and Firefox latest versions

### What steps have you taken to resolve this issue already?

I tried moving `/var/lib/cells` to some other folder and reinstalling mariadb, but nothing changed, finally, I moved `/var/cells/data` in case I could reaccess my data, and I created pydio user and a database, after that I executed `cells configure` but after the last step on browser, the log shows the same error that I was facing from the start, here is the log

````auto
2024-05-21T16:43:50.340+0300 INFO pydio.grpc.data.sync.pydiods1 Successfully retrieved first object from bucket pydiods1 (13.346462ms)
2024-05-21T16:43:50.358+0300 INFO pydio.grpc.data.sync.personal Successfully retrieved first object from bucket personal (30.305177ms)
2024-05-21T16:43:50.369+0300 INFO pydio.grpc.data.sync.cellsdata Successfully retrieved first object from bucket cellsdata (40.657741ms)
2024-05-21T16:43:50.370+0300 INFO pydio.grpc.data.sync.versions Successfully retrieved first object from bucket versions (53.697267ms)
[ERROR] Cannot find an available index for writing, entries will be logged in memory
[ERROR] This should not happen and may indicate a missing MaxConcurrency=1 on the Truncate Logs flow.
[ERROR] Make sure to fix it and restart if necessary.
^C2024-05-21T16:50:16.727+0300 INFO pydio.gateway.data Exiting on signal: INTERRUPT

2024-05-21T16:50:16.727+0300 INFO pydio.grpc.data.objects.local1 Exiting on signal: INTERRUPT
2024-05-21T16:50:16.726+0300 INFO pydio.grpc.data.objects.local1 Stopping minio stale data cleaner routine
[ERROR] Cannot find an available index for writing, entries will be logged in memory
[ERROR] This should not happen and may indicate a missing MaxConcurrency=1 on the Truncate Logs flow.
[ERROR] Make sure to fix it and restart if necessary.
[ERROR] Cannot find an available index for writing, entries will be logged in memory
[ERROR] This should not happen and may indicate a missing MaxConcurrency=1 on the Truncate Logs flow.
[ERROR] Make sure to fix it and restart if necessary.```

Thank you for the support
````

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [May 21, 2024, 7:28pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/2 "2024-05-21T19:28:08Z")

</div>

hello @Amanuel_Elhanan  
Thanks for posting  
This is probably not linked to the very last update. What version were you coming from ?  
Try the command “./cells admin clean reset-jobs” to fix the truncate logs flow.  
-c

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 22, 2024, 7:14am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/3 "2024-05-22T07:14:26Z")

</div>

Hello @charles thank you for replying  
I updated from v4.4.0

after executing `cells admin clean reset-jobs` , I tried all 9 options one by one but the error is still there

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/0/081a50e848131f5d490b6c4af5e3963cd9e84e15.png)

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 22, 2024, 9:13am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/4 "2024-05-22T09:13:31Z")

</div>

Hi @Amanuel_Elhanan

Was it in Cells Enterprise then go back to community version? Because Truncate Logs is an enterprise jobs

Solution:  
Use boltdb browser/boltdb tools to edit CELL\_WORKING\_DIR/services/pydio.grpc.jobs/jobs.db then delete the enterprise jobs

> Don’t forget to stop cells, take a backup of this file before editing

For example

> **[GitHub - ShoshinNikita/boltBrowser: boltBrowser is a GUI web-based explorer...](https://github.com/ShoshinNikita/boltBrowser)**
>
> boltBrowser is a GUI web-based explorer and editor for boltDB - ShoshinNikita/boltBrowser

> **[GitHub - br0xen/boltbrowser: A CLI Browser for BoltDB Files](https://github.com/br0xen/boltbrowser)**
>
> A CLI Browser for BoltDB Files. Contribute to br0xen/boltbrowser development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 22, 2024, 12:54pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/5 "2024-05-22T12:54:07Z")

</div>

@c12simple Thank you for replying

> Was it in Cells Enterprise then go back to the community version? Because Truncate Logs is an enterprise job

No. I used the Pydio Cells home version and then updated it to the latest version.  
The tools you have suggested are a bit outdated and didn’t work for me on Fedora, the OS I am using currently.  
Is it possible just to remove the whole `/var/cells` directory and execute `cells configure`?

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 22, 2024, 1:08pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/6 "2024-05-22T13:08:43Z")

</div>

Hi,  
Let’s try this repo: [GitHub - evnix/boltdbweb: A web based GUI for BoltDB files](http://github.com/evnix/boltdbweb)

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 7:28am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/7 "2024-05-23T07:28:17Z")

</div>

Hello @c12simple  
thanks again, but I couldn’t download the binary you have shared, I couldn’t download the file since I don’t know the language

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 23, 2024, 7:30am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/8 "2024-05-23T07:30:02Z")

</div>

Hi,

Please inbox me your email

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 7:35am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/9 "2024-05-23T07:35:59Z")

</div>

OK,  
[elhananjair@gmail.com](mailto:elhananjair@gmail.com)  
just to confirm, can I get my data back after I try this process?

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 7:50am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/10 "2024-05-23T07:50:54Z")

</div>

@c12simple  
still it is not opening on browser

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/4/4cc6ef75d89fdeca7bfe964fbab33cd8f61c854b.png)

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 9:12am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/11 "2024-05-23T09:12:03Z")

</div>

Hello @c12simple  
I download the jobs.db file on another PC and opened it with Kwrite, this is what the content looks like, can I edit it like this and bring the file back `to /var/cells...?`

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/4/4ba9a9007971e5348850230a3aa9cc0fd944a756.png)

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 23, 2024, 10:01am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/12 "2024-05-23T10:01:30Z")

</div>

Hello,

> [@Amanuel\_Elhanan](#):
>
> still it is not opening on browser

- Stop cells & make a backup of `/var/cells/services/pydio.grpc.jobs/jobs.db`
- Don’t open it with port \< 1024 otherwise, you’ll have problem with permission.
- Firewall settings?!
- For example: `boltdbweb --db-name=/var/cells/services/pydio.grpc.jobs/jobs.db --port=8888`

> [@Amanuel\_Elhanan](#):
>
> can I edit it like this and bring the file back

No, please use boltdb browser

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 11:22am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/14 "2024-05-23T11:22:41Z")

</div>

Hello @c12simple thank you for taking time, now I opened jobs.db through the tool you have suggested, how do I delete enterprise jobs as you suggested? (Although I didn’t have installed or used Pydio Cells Enterprise version)

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/3/313d355080d94e1e5d420c0442d443b28ecf0e6a.png)

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [May 23, 2024, 11:39am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/15 "2024-05-23T11:39:41Z")

</div>

Hi,  
select Buckets \> jobs \> search for Truncate Logs =\> delete this entry

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 12:02pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/16 "2024-05-23T12:02:02Z")

</div>

Couldn’t find Truncate Logs

 ![image](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/5/5ed1532f3c58c21343ee5c84eb83582ca97e980f.png)

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 12:39pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/17 "2024-05-23T12:39:13Z")

</div>

Hello @c12simple @charles  
I think its better to remove Pydio Cells and re install it again, I don’t think this issue is solvable right now, what do you suggest?

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 23, 2024, 1:08pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/18 "2024-05-23T13:08:43Z")

</div>

I just removed a database called cells and executed `cells configure` after that I started cells with `/opt/pydio/bin/cells start` it works fine like this but when I start `cells.service` I am getting the same error, I don’t know why:

```auto
May 23 16:06:26 fedora cells[9049]: [ERROR] Cannot find an available index for writing, entries will be logged in memory
May 23 16:06:26 fedora cells[9049]: [ERROR] This should not happen and may indicate a missing MaxConcurrency=1 on the Truncate Logs flow.
May 23 16:06:26 fedora cells[9049]: [ERROR] Make sure to fix it and restart if necessary.
May 23 16:06:26 fedora cells[9049]: Error: open /var/cells/certs/71be40caf0dbffc7f6fbd48c5fd3eabb.pem: permission deniedopen /var/cells/certs/71be40caf0dbffc7f6fbd48c>
May 23 16:06:26 fedora systemd[1]: cells.service: Main process exited, code=exited, status=1/FAILURE

```

**UPDATE**  
I changed Group and User to root instead of Pydio and it works now, although it is not recommended running things with root user

---

<div class="post-metadata">

**Author:** ![charles](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/charles/32/3_2.png) [@charles](https://forum.pydio.com/u/charles)\
**Post date:** [May 24, 2024, 10:12am UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/19 "2024-05-24T10:12:35Z")

</div>

Hello @Amanuel_Elhanan

Running cells as root is certainly not a good path to go !

By removing the Mysql DB, you just _partially_ cleaned the install. Many additional data (including the jobs db) is located under `/var/cells/`, so if you wish to re-install from scratch, you should better

- clean cells DB
- and remove contents of /var/cells : **warning** this will actually clear all existing data (your files)  
is this what you want to do?

-c

---

<div class="post-metadata">

**Author:** ![Amanuel\_Elhanan](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/amanuel_elhanan/32/2340_2.png) [@Amanuel\_Elhanan](https://forum.pydio.com/u/Amanuel_Elhanan)\
**Post date:** [May 24, 2024, 7:48pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/20 "2024-05-24T19:48:50Z")

</div>

Hello @charles  
Thank you for taking the time and support  
After multiple retrial, I couldn’t get a solution for the original issue I was facing, which was:

```auto
2024-05-21T16:50:16.727+0300 INFO pydio.grpc.data.objects.local1 Exiting on signal: INTERRUPT
2024-05-21T16:50:16.726+0300 INFO pydio.grpc.data.objects.local1 Stopping minio stale data cleaner routine
[ERROR] Cannot find an available index for writing, entries will be logged in memory
[ERROR] This should not happen and may indicate a missing MaxConcurrency=1 on the Truncate Logs flow.
[ERROR] Make sure to fix it and restart if necessary.
[ERROR] Cannot find an available index for writing, entries will be logged in memory
[ERROR] This should not happen and may indicate a missing MaxConcurrency=1 on the Truncate Logs flow.
[ERROR] Make sure to fix it and restart if necessary.

```

Therefore I did this yesterday, I cleaned and removed cells DB. I copied `/var/lib/cells` and `/var/cells` files before I executed `cells configure` to start the configuration again. It still didn’t work, but after I changed **User** and **Group** entries in `cells.service` from a user called **Pydio** to **root** , the service started normal and Cells became a new instance.

I couldn’t understand why since I am new to Pydio Cells, but although it now runs the service with a root user, I want to know why it is only working with a root user.

---

<div class="post-metadata">

**Author:** ![Cuong\_Tran](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/cuong_tran/32/2218_2.png) [@Cuong\_Tran](https://forum.pydio.com/u/Cuong_Tran)\
**Post date:** [June 4, 2024, 2:39pm UTC](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893/21 "2024-06-04T14:39:59Z")

</div>

@Amanuel_Elhanan

Please try to delete **/var/cells/services/pydio.grpc.jobs/tasklogs.bleve** , then start or install cells again

[Next page](https://forum.pydio.com/t/pydio-cells-start-issue-permissions-issues/5893.md?page=2)
